Class: ActionController::Routing::RouteSet
- Inherits:
-
Object
- Object
- ActionController::Routing::RouteSet
- Defined in:
- lib/authuser.rb
Instance Method Summary collapse
Instance Method Details
#load_routes_with_authuser! ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/authuser.rb', line 9 def load_routes_with_authuser! lib_path = File.dirname(__FILE__) authuser_routes = File.join(lib_path, *%w[.. config authuser_routes.rb]) unless configuration_files.include?(authuser_routes) add_configuration_file(authuser_routes) end load_routes_without_authuser! end |