Class ApplicationController
In: app/controllers/application.rb
Parent: ActionController::Base

require ‘cache_extension_fix‘

Methods

locales   render  

Included Modules

AuthenticatedSystem ExceptionNotifiable GeoKit::Geocoders

Public Instance methods

Idiomas disponibles a lo largo del site

[Source]

    # File app/controllers/application.rb, line 38
38:   def locales 
39:     AvailableLocales::AVAILABLE_LANGUAGES
40:   end

Protected Instance methods

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

[Source]

     # File app/controllers/application.rb, line 337
337:     def render(options = nil, extra_options = {}, &block) 
338:       # we want to build the breadcrums just before rendering
339:       make_breadcrumbs
340: 
341:       # call the ActionController::Base render to show the page
342:       super
343:     end

[Validate]