Sha256: 7d06fcb1a01bca063cbecc29d7bbf69de2f9d7a6797bbd37b5e919d94b4e9d1b
Contents?: true
Size: 438 Bytes
Versions: 7
Compression:
Stored size: 438 Bytes
Contents
module RailsLocaleDetection class Railtie < Rails::Railtie initializer "rails_locale_detection.append_before_filter" do ActiveSupport.on_load(:action_controller) do ActionController::Base.send :include, RailsLocaleDetection::ControllerMethods end ActiveSupport.on_load(:action_view) do ActionView::Base.send :include, Rails::LocaleDetection::LocaleAccessors end end end end
Version data entries
7 entries across 7 versions & 1 rubygems