Sha256: d757d6d26ec59719b54c5807d7e25217e7427730e370486b2d4e543ce0909bab

Contents?: true

Size: 148 Bytes

Versions: 40

Compression:

Stored size: 148 Bytes

Contents

class LocalesController < ApplicationController
  def show
    I18n.locale = session[:locale_code] = params[:id]
    redirect_to root_url
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.61 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.60 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.59 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.58 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.54 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.52 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.51 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.49 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.48 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.47 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.46 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.45 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.44 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.43 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.42 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.41 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.40 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.39 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.38 app/controllers/locales_controller.rb
activeadmin-selleo-cms-0.0.37 app/controllers/locales_controller.rb