Class: ActionController::Routing::RouteSet

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

Instance Method Summary collapse

Instance Method Details

#load_routes_with_muck_oauth!Object


2
3
4
5
6
# File 'lib/muck_oauth/initialize_routes.rb', line 2

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