Sha256: 5d687e8994be45c9ede6fc72782515215339a5edea976001919c9b1df6879ec7

Contents?: true

Size: 226 Bytes

Versions: 3

Compression:

Stored size: 226 Bytes

Contents

module CustomizeAdmin
  class ApplicationController < ActionController::Base

    before_filter :set_admin_locale

    def set_admin_locale
        I18n.locale = session[:admin_locale] || I18n.default_locale
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customize_admin-0.0.13 app/controllers/customize_admin/application_controller.rb
customize_admin-0.0.12 app/controllers/customize_admin/application_controller.rb
customize_admin-0.0.11 app/controllers/customize_admin/application_controller.rb