Sha256: 98447b0cef905f8cf89a477e79f69de599a2e404beb597415d7c2e9089e66bcc

Contents?: true

Size: 196 Bytes

Versions: 13

Compression:

Stored size: 196 Bytes

Contents

module ActiveadminSelleoCms
  class LocalesController < ActiveadminSelleoCms::ApplicationController
    def change
      I18n.locale = params[:locale]
      redirect_to root_url
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.14 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.13 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.12 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.11 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.10 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.9 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.8 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.7 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.6 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.5 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.4 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.3 app/controllers/activeadmin_selleo_cms/locales_controller.rb
activeadmin-selleo-cms-0.0.2 app/controllers/activeadmin_selleo_cms/locales_controller.rb