Sha256: 5b5019c62219f92ad1f4619359fe42b43d7b51723981a33ca5298b4a101f9abd

Contents?: true

Size: 342 Bytes

Versions: 19

Compression:

Stored size: 342 Bytes

Contents

module Kuhsaft
  module Cms
    class AdminController < ApplicationController
      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
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
kuhsaft-1.3.1 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.15 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.14 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.13 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.12 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.11 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.10 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.9 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.8 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.7 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.6 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.5 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.4 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.3 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.2 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.1 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.2.0 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.1.1 app/controllers/kuhsaft/cms/admin_controller.rb
kuhsaft-1.1.0 app/controllers/kuhsaft/cms/admin_controller.rb