Sha256: 2e77f00e54d649f2a74a2278067e6073498fa86709555f3917edd0e718a75346

Contents?: true

Size: 207 Bytes

Versions: 8

Compression:

Stored size: 207 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :available_locales
  
  def available_locales
    Kuhsaft::Page.translation_locales = ['de', 'en', 'fr']
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kuhsaft-0.1.1 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.1.0 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.0.8 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.0.7 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.0.6 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.0.5 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.0.4 spec/dummy/app/controllers/application_controller.rb
kuhsaft-0.0.3 spec/dummy/app/controllers/application_controller.rb