Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
Adds access_allowed_to_controller? as helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
alxberardi committed Sep 15, 2015
1 parent d173156 commit 4c7682e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/right_on/action_controller_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module ActionControllerExtensions

def self.included(base)
base.module_eval do
helper_method :access_allowed?
helper_method :access_allowed?, :access_allowed_to_controller?
class_attribute :rights_from
class_attribute :permission_denied_layout
end
Expand Down

0 comments on commit 4c7682e

Please sign in to comment.