mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-16 04:08:08 +01:00
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:
parent
67d574bf73
commit
cda75a0cc1
5 changed files with 19 additions and 14 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue