Class | ActionController::Routing::RouteSet |
In: |
lib/muck_comments/initialize_routes.rb
|
Parent: | Object |
# File lib/muck_comments/initialize_routes.rb, line 2 2: def load_routes_with_muck_comments! 3: muck_comments_routes = File.join(File.dirname(__FILE__), *%w[.. .. config muck_comments_routes.rb]) 4: add_configuration_file(muck_comments_routes) unless configuration_files.include? muck_comments_routes 5: load_routes_without_muck_comments! 6: end