fix regression where viewing a page for a single tag (like starred) did not work

and fix some test warnings/errors
This commit is contained in:
Reinier Balt 2011-10-31 14:39:52 +01:00
parent 67d574bf73
commit cda75a0cc1
5 changed files with 19 additions and 14 deletions

View file

@ -40,7 +40,7 @@ ActionController::Routing::Routes.draw do |map|
# UPDATE: added support for mobile view. All tags ending on .m will be
# routed to mobile view of tags.
todos.mobile_tag 'todos/tag/:name.m', :action => "tag", :format => 'm'
todos.mobile_tag 'todos/tag/:name.txt', :action => "tag", :format => 'txt'
todos.text_tag 'todos/tag/:name.txt', :action => "tag", :format => 'txt'
todos.tag 'todos/tag/:name', :action => "tag", :name => /.*/
todos.done_tag 'todos/done/tag/:name', :action => "done_tag"
todos.all_done_tag 'todos/all_done/tag/:name', :action => "all_done_tag"