Class: LocalesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- LocalesController
- Defined in:
- public/app/controllers/locales_controller.rb
Constant Summary
Constants included from Searchable
Instance Method Summary collapse
Methods inherited from ApplicationController
#archivesspace, can_access?, permission_mappings, set_access_control
Methods included from JsonHelper
#merge_notes, #process_json_notes
Methods included from Searchable
#default_search_opts, #get_filter_years, #handle_results, #html_notes, #process_results, #process_search_results, #repo_context, #search_terms, #set_up_advanced_search, #set_up_and_run_search, #set_up_search, #strip_facet_fields
Methods included from HandleFaceting
#fetch_only_facets, #get_pretty_facet_value, #strip_facets
Methods included from ManipulateNode
#inheritance, #process_mixed_content, #strip_mixed_content
Instance Method Details
#locale ⇒ Object
4 5 6 7 8 |
# File 'public/app/controllers/locales_controller.rb', line 4 def locale session[:locale] = params[:locale] redirect_to('/') end |