Module: Hydra::RoleManagement
- Defined in:
- lib/hydra-role-management.rb,
lib/hydra/role_management.rb,
lib/hydra/role_management/version.rb,
app/models/concerns/hydra/role_management/user_roles.rb,
app/controllers/concerns/hydra/role_management/roles_behavior.rb,
app/controllers/concerns/hydra/role_management/user_roles_behavior.rb,
app/models/concerns/hydra/role_management/legacy_attribute_handling.rb
Defined Under Namespace
Modules: LegacyAttributeHandling, RolesBehavior, UserRoles, UserRolesBehavior Classes: Engine
Constant Summary collapse
- VERSION =
'1.2.0'
Class Method Summary collapse
-
.draw_routes(router, opts = {}) ⇒ Object
Draws the routes with custom arguments passed to the #mount invocation (see ActionDispatch::Routing::Mapper::Base).
Class Method Details
.draw_routes(router, opts = {}) ⇒ Object
Draws the routes with custom arguments passed to the #mount invocation (see ActionDispatch::Routing::Mapper::Base)
16 17 18 19 20 21 |
# File 'lib/hydra-role-management.rb', line 16 def self.draw_routes(router, opts = {}) self. = opts router.instance_exec do mount Hydra::RoleManagement::Engine => '/' end end |