
routes.rb
By: a guest on
Nov 5th, 2011 | syntax:
Rails | size: 1.42 KB | hits: 34 | expires: Never
posts GET /posts(.:format) {:action=>"index", :controller=>"posts"}
POST /posts(.:format) {:action=>"create", :controller=>"posts"}
new_post GET /posts/new(.:format) {:action=>"new", :controller=>"posts"}
edit_post GET /posts/:id/edit(.:format) {:action=>"edit", :controller=>"posts"}
post GET /posts/:id(.:format) {:action=>"show", :controller=>"posts"}
PUT /posts/:id(.:format) {:action=>"update", :controller=>"posts"}
DELETE /posts/:id(.:format) {:action=>"destroy", :controller=>"posts"}
tag_posts GET /posts/tag(.:format) {:action=>"tag", :controller=>"posts"}
GET /posts(.:format) {:action=>"index", :controller=>"posts"}
POST /posts(.:format) {:action=>"create", :controller=>"posts"}
GET /posts/new(.:format) {:action=>"new", :controller=>"posts"}
GET /posts/:id/edit(.:format) {:action=>"edit", :controller=>"posts"}
GET /posts/:id(.:format) {:action=>"show", :controller=>"posts"}
PUT /posts/:id(.:format) {:action=>"update", :controller=>"posts"}
DELETE /posts/:id(.:format) {:action=>"destroy", :controller=>"posts"}
root / {:controller=>"posts", :action=>"index"}