Module: Authorization::Base
- Defined in:
- lib/authorization.rb,
lib/authorization/publishare/parser.rb
Defined Under Namespace
Modules: ControllerClassMethods, ControllerInstanceMethods, EvalParser, RecursiveDescentParser
Constant Summary collapse
- DEFAULT_REDIRECTION_HASH =
{ :controller => 'account', :action => 'login' }
- STORE_LOCATION_METHOD =
:store_return_location
- VALID_PREPOSITIONS =
['of', 'for', 'in', 'on', 'to', 'at', 'by']
- BOOLEAN_OPS =
['not', 'or', 'and']
- VALID_PREPOSITIONS_PATTERN =
VALID_PREPOSITIONS.join('|')
Class Method Summary collapse
Class Method Details
.included(recipient) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/authorization.rb', line 18 def self.included( recipient ) recipient.extend( ControllerClassMethods ) recipient.class_eval do include ControllerInstanceMethods end end |