lib/tkh_authentication.rb in tkh_authentication-0.9.9 vs lib/tkh_authentication.rb in tkh_authentication-0.9.10

- old
+ new

@@ -6,16 +6,16 @@ require 'tkh_authentication/tkh_authentication_helper' module TkhAuthentication class Engine < ::Rails::Engine # to extend the application helper in the host app - initializer 'tkh_authentication.helper' do |app| - ActionView::Base.send :include, TkhAuthenticationHelper - end + initializer 'tkh_authentication.helper' do |app| + ActionView::Base.send :include, TkhAuthenticationHelper + end # to extend the application_controller in the host app initializer 'tkh_authentication.controller' do |app| - ActiveSupport.on_load(:action_controller) do - include TkhAuthenticationActionControllerExtension + ActiveSupport.on_load(:action_controller) do + include TkhAuthenticationActionControllerExtension end - end + end end -end \ No newline at end of file +end