Fix #969 by implementing a new mobile view for notes.

Did not create tests for it
This commit is contained in:
Reinier Balt 2010-08-03 22:27:54 +02:00
parent 2c6d514970
commit 110d3daf95
5 changed files with 23 additions and 2 deletions

View file

@ -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