lib/authoreyes.rb in authoreyes-0.2.2 vs lib/authoreyes.rb in authoreyes-0.2.3
- old
+ new
@@ -8,10 +8,11 @@
class Railtie
# Require helpers after Rails initialization
config.after_initialize do
require 'authoreyes/helpers/in_controller'
- # Include Controller helpers
+ # Include Controller helpers not already sent to specific parts
+ # of ActionController (e.g., permitted_to?, etc.)
ActionController::Metal.include Authoreyes::Helpers::InController
end
end
end