Sha256: 767a30a7f8a771290333e1cea0a95a4c6170f354fd4909293f2ce1274e88a1f4

Contents?: true

Size: 239 Bytes

Versions: 13

Compression:

Stored size: 239 Bytes

Contents

class ApplicationController < ActionController::Base
  # protect_from_forgery

  before_filter :set_locale
  def set_locale
    # if params[:locale] is nil then I18n.default_locale will be used
    I18n.locale = params[:locale]
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
netzke-core-0.8.4 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.8.3 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.8.2 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.8.1 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.8.0 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.7 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.6 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.5 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.4 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.3 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.2 test/core_test_app/app/controllers/application_controller.rb
netzke-core-0.7.1 test/rails_app/app/controllers/application_controller.rb
netzke-core-0.7.0 test/rails_app/app/controllers/application_controller.rb