lib/tkh_authentication.rb in tkh_authentication-0.0.4 vs lib/tkh_authentication.rb in tkh_authentication-0.0.5
- old
+ new
@@ -5,10 +5,10 @@
require 'tkh_authentication/tkh_authentication_action_controller_extension'
require 'tkh_authentication/tkh_authentication_helper'
module TkhAuthentication
class Engine < ::Rails::Engine
- # all this to extend the application_controller in the host app
+ # to extend the application helper in the host app
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|
\ No newline at end of file