mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 15:31:47 +01:00
first steps towards review view
This commit is contained in:
parent
01bcc7a48c
commit
5f0bcebca9
5 changed files with 17 additions and 2 deletions
|
|
@ -17,6 +17,11 @@ ActionController::Routing::Routes.draw do |map|
|
|||
projects.resources :todos, :name_prefix => "project_"
|
||||
end
|
||||
|
||||
map.with_options :controller => :projects do |projects|
|
||||
# projects.home '', :action => "index"
|
||||
projects.review 'review', :action => :review
|
||||
end
|
||||
|
||||
map.resources :notes
|
||||
|
||||
map.resources :todos,
|
||||
|
|
@ -24,6 +29,7 @@ ActionController::Routing::Routes.draw do |map|
|
|||
:collection => {:check_deferred => :post, :filter_to_context => :post, :filter_to_project => :post, :done => :get, :all_done => :get
|
||||
}
|
||||
|
||||
|
||||
map.with_options :controller => :todos do |todos|
|
||||
todos.home '', :action => "index"
|
||||
todos.tickler 'tickler.:format', :action => "list_deferred"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue