Skip to content

Instantly share code, notes, and snippets.

@JohnBat26
Created October 30, 2011 18:57
Show Gist options
  • Save JohnBat26/1326278 to your computer and use it in GitHub Desktop.
Save JohnBat26/1326278 to your computer and use it in GitHub Desktop.
Ticketee::Application.routes.draw do
resources :projects
root :to => "projects#index"
match '/projects/:id', :to => 'projects#show', :as => :project
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment