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