Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/applications/molecule/config/routes.rb

Revision 4227, 246 bytes (checked in by david, 3 years ago)

Simplest thing possible

Line 
1 ActionController::Routing::Routes.draw do |map|
2   map.index '', :controller => "entries", :action => "index"
3   map.resource :entry
4
5   map.feed 'index.atom', :controller => "entries", :action => "feed"
6
7   map.connect ':controller/:action/:id'
8 end
Note: See TracBrowser for help on using the browser.