Class: Kuhsaft::Cms::AdminController

Inherits:
ApplicationController show all
Defined in:
app/controllers/kuhsaft/cms/admin_controller.rb

Instance Method Summary collapse

Instance Method Details

#set_content_localeObject



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