Module: DoubleAuthEngine::RoleMixin
- Included in:
- Role
- Defined in:
- lib/double_auth_engine/models/role_mixin.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/double_auth_engine/models/role_mixin.rb', line 3 def self.included(base) base.class_eval do has_many :assignments has_many :users, :through => :assignments end end |