app/controllers/kuhsaft/cms/admin_controller.rb in kuhsaft-2.2.6 vs app/controllers/kuhsaft/cms/admin_controller.rb in kuhsaft-2.3.0

- old
+ new

@@ -1,10 +1,10 @@ module Kuhsaft module Cms class AdminController < ActionController::Base respond_to :html layout 'kuhsaft/cms/application' - before_filter :set_content_locale + before_action :set_content_locale def set_content_locale if params[:content_locale].present? I18n.locale = params[:content_locale] end