Redirect Routing plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.pinds.com/rails/plugins/redirect_routing/
This will make the root of your site redirect to the events controller, typically at /events.
You can redirect any URL to any set of options, or event a string URL, like this:
map.redirect 'test', 'http://pinds.com'
GET /test, and you'll be redirected to my blog.
You can also set the status to be a 301 permanent redirect instead of a temporary 302:
map.redirect 'oldurl', 'newurl', :permament => true
map.redirect 'oldurl', :controller => 'new_controller', :action => 'new_action', :permament => true
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

