class ApplicationController

require ‘carrierwave_minimagick’ require ‘cache_extension_fix’

Public Instance Methods

locales() click to toggle source

Idiomas disponibles a lo largo del site

# File app/controllers/application_controller.rb, line 53
def locales 
  AvailableLocales::AVAILABLE_LANGUAGES
end

Protected Instance Methods

render(options = nil, extra_options = {}, &block) click to toggle source

Inspired by: www.aldenta.com/2006/09/25/execute-rails-code-before-the-view-is-rendered/ Redefinición del método render para que se construyan antes los breadcrumbs

Calls superclass method
# File app/controllers/application_controller.rb, line 809
def render(options = nil, extra_options = {}, &block) 
  # we want to build the breadcrums just before rendering
  make_breadcrumbs

  # call the ActionController::Base render to show the page
  super
end