mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
Fix #969 by implementing a new mobile view for notes.
Did not create tests for it
This commit is contained in:
parent
2c6d514970
commit
110d3daf95
5 changed files with 23 additions and 2 deletions
|
|
@ -48,6 +48,9 @@ ActionController::Routing::Routes.draw do |map|
|
|||
todos.mobile 'mobile', :action => "index", :format => 'm'
|
||||
todos.mobile_abbrev 'm', :action => "index", :format => 'm'
|
||||
todos.mobile_abbrev_new 'm/new', :action => "new", :format => 'm'
|
||||
|
||||
todos.mobile_todo_show_notes 'todos/notes/:id.m', :action => "show_notes", :format => 'm'
|
||||
todos.todo_show_notes 'todos/notes/:id', :action => "show_notes"
|
||||
end
|
||||
map.root :controller => 'todos' # Make OpenID happy because it needs #root_url defined
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue