Sha256: e8b9575044b73b921ff50785e3d52d4874e21da876ddab19643bc863d689564d
Contents?: true
Size: 429 Bytes
Versions: 9
Compression:
Stored size: 429 Bytes
Contents
module Kuhsaft module Cms class AdminController < ActionController::Base respond_to :html layout 'kuhsaft/cms/application' before_filter :set_content_locale def set_content_locale if params[:content_locale].present? I18n.locale = params[:content_locale] end end def url_options { content_locale: I18n.locale }.merge(super) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems