https://github.com/airblade/plugin_routing
Rails plugin which is a port of James Adam's RailsEngine routing extension.
https://github.com/airblade/plugin_routing
Last synced: 7 months ago
JSON representation
Rails plugin which is a port of James Adam's RailsEngine routing extension.
- Host: GitHub
- URL: https://github.com/airblade/plugin_routing
- Owner: airblade
- License: mit
- Created: 2008-09-29T17:50:39.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2008-09-29T17:55:46.000Z (about 17 years ago)
- Last Synced: 2025-02-06T08:24:45.998Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: MIT-LICENSE
Awesome Lists containing this project
README
PluginRouting
=============This plugin is a port of James Adam's [RailsEngine routing extension][1].
It allows plugins to define their own routes in a familiar `routes.rb` file (see the example with this plugin). Users of other such plugins can then add those plugin's routes in their application's routes at the appropriate location in `config/routes.rb` using:
map.from_plugin(name_of_plugin)
If you are writing a plugin that defines its own routes, and you want them to be loaded using this mechanism, remember to have your plugin's `install.rb` write out a suitable message on the console explaining that the PluginRouting plugin should be installed too.
[1]: http://api.rails-engines.org/files/lib/engines/rails_extensions/routing_rb.html
Please send feedback to boss@airbladesoftware.com.
Copyright (c) 2007 Andrew Stewart, AirBlade Software Ltd, released under the MIT licence.