Class: ActionController::Routing::RouteSet
- Inherits:
-
Object
- Object
- ActionController::Routing::RouteSet
- Defined in:
- lib/headword/extensions/routes.rb
Instance Method Summary collapse
Instance Method Details
#load_routes_with_headword! ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/headword/extensions/routes.rb', line 3 def load_routes_with_headword! lib_path = File.dirname(__FILE__) routes = File.join(lib_path, *%w[.. .. .. config headword_routes.rb]) configuration_files.delete(routes) add_configuration_file(routes) load_routes_without_headword! end |