Class: Kuhsaft::Cms::AdminController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Kuhsaft::Cms::AdminController
- Defined in:
- app/controllers/kuhsaft/cms/admin_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#set_content_locale ⇒ Object
9 10 11 12 13 |
# File 'app/controllers/kuhsaft/cms/admin_controller.rb', line 9 def set_content_locale if params[:content_locale].present? I18n.locale = params[:content_locale] end end |