Class: ActionController::Routing::RouteSet

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

Instance Method Summary collapse

Instance Method Details

#load_routes_with_muck_activity!Object



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

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