Created
March 2, 2011 17:09
-
-
Save bishopandco/851279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cable_to :events do |event| | |
collection do | |
get :schedule | |
end | |
end | |
rake routes | grep events | |
schedule_admin_events GET /admin/events/schedule(.:format) {:action=>"schedule", :controller=>"admin/events"} | |
admin_events GET /admin/events(.:format) {:action=>"index", :controller=>"admin/events"} | |
POST /admin/events(.:format) {:action=>"create", :controller=>"admin/events"} | |
new_admin_event GET /admin/events/new(.:format) {:action=>"new", :controller=>"admin/events"} | |
edit_admin_event GET /admin/events/:id/edit(.:format) {:action=>"edit", :controller=>"admin/events"} | |
admin_event GET /admin/events/:id(.:format) {:action=>"show", :controller=>"admin/events"} | |
PUT /admin/events/:id(.:format) {:action=>"update", :controller=>"admin/events"} | |
DELETE /admin/events/:id(.:format) {:action=>"destroy", :controller=>"admin/events"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment