Module: CanTango::Api::Ability::Dsl
- Includes:
- Relationship
- Defined in:
- lib/cantango/api/ability/dsl.rb,
lib/cantango/api/ability/dsl/relationship.rb
Defined Under Namespace
Modules: Relationship
Instance Method Summary collapse
-
#scope(name) {|Scope.new name, self, &block| ... } ⇒ Object
creates a scope that enforces either using the user or user_account for determining relationship matches on the models.