Skip to content
Browse files

added missing rdoc

  • Loading branch information...
1 parent 80fc01d commit 5bcd1f274396f1de4f8b3e1235a87c6484db4440 @adamhunter adamhunter committed Mar 20, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/authority/controller.rb
View
4 lib/authority/controller.rb
@@ -30,6 +30,10 @@ def authority_action(action_map)
self.authority_action_map.merge!(action_map.symbolize_keys)
end
+ # The controller action to authority action map used for determining
+ # which Rails actions map to which authority actions (ex: index to read)
+ #
+ # @return [Hash] A duplicated copy of the configured controller_action_map
def authority_action_map
@authority_action_map ||= Authority.configuration.controller_action_map.dup
end

0 comments on commit 5bcd1f2

Please sign in to comment.
Something went wrong with that request. Please try again.