Class: ActionController::Routing::RouteSet

Inherits:
Object
  • Object
show all
Defined in:
lib/userify.rb

Instance Method Summary collapse

Instance Method Details

#load_routes_with_userify!Object



7
8
9
10
11
# File 'lib/userify.rb', line 7

def load_routes_with_userify!
  userify_routes = File.join(File.dirname(__FILE__), *%w[.. config userify_routes.rb])
  add_configuration_file(userify_routes) unless configuration_files.include? userify_routes
  load_routes_without_userify!
end