Sha256: fb978d39bcbbf81ee62ed9f31f788cf698115276cbb61394f8d814e7fd3f6892

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 Bytes

Contents

require "hydra/role_management"
require 'bootstrap_form'

module Hydra
  module RoleManagement
    mattr_accessor :route_options
    self.route_options = {}
    
    def self.draw_routes(router, opts={})
      self.route_options = opts
      router.instance_exec do
        mount Hydra::RoleManagement::Engine => '/'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydra-role-management-1.0.0 lib/hydra-role-management.rb
hydra-role-management-0.2.2 lib/hydra-role-management.rb
hydra-role-management-0.2.1 lib/hydra-role-management.rb
hydra-role-management-0.2.0 lib/hydra-role-management.rb