Sha256: 5b45dd4c874cff3469d1c942c4c0c341798429c3fb76f8e7523336f1d189259e

Contents?: true

Size: 205 Bytes

Versions: 28

Compression:

Stored size: 205 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :pull_out_locale


  def pull_out_locale
    I18n.locale = params[:locale] if params[:locale].present?
  end
end

Version data entries

28 entries across 28 versions & 3 rubygems

Version Path
derailed_benchmarks-1.3.2 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.3.1 test/rails_app/app/controllers/application_controller.rb
rails_serve_static_assets-0.0.5 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.3.0 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.1.3 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.1.2 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.1.1 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.1.0 test/rails_app/app/controllers/application_controller.rb
wicked-1.2.1 test/dummy/app/controllers/application_controller.rb
derailed_benchmarks-1.0.1 test/rails_app/app/controllers/application_controller.rb
derailed_benchmarks-1.0.0 test/rails_app/app/controllers/application_controller.rb
wicked-1.1.1 test/dummy/app/controllers/application_controller.rb
rails_serve_static_assets-0.0.4 test/rails_app/app/controllers/application_controller.rb
rails_serve_static_assets-0.0.3 test/rails_app/app/controllers/application_controller.rb
wicked-1.1.0 test/dummy/app/controllers/application_controller.rb
wicked-1.0.3 test/dummy/app/controllers/application_controller.rb
wicked-1.0.2 test/dummy/app/controllers/application_controller.rb
wicked-1.0.1 test/dummy/app/controllers/application_controller.rb
wicked-1.0.0 test/dummy/app/controllers/application_controller.rb
wicked-0.6.1 test/dummy/app/controllers/application_controller.rb