diff options
author | elijah <elijah@riseup.net> | 2013-07-03 11:11:10 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-03 11:11:10 -0700 |
commit | 9f7e6ed3d44fb460cd0852a1f2335ef381f5dc1b (patch) | |
tree | c248ce9aa7b0cd9f81180e69573691502a4c19ed /help/app/views/tickets/_ticket.html.haml | |
parent | 743da86885379c240cb6946b57b9df72cc508c8e (diff) |
better ticket view navigation: tickets are now either global in scope (for admins) or stay as a nested resource for a particular user (for normal users and when you visit the tickets list of a particular user).
Diffstat (limited to 'help/app/views/tickets/_ticket.html.haml')
-rw-r--r-- | help/app/views/tickets/_ticket.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/help/app/views/tickets/_ticket.html.haml b/help/app/views/tickets/_ticket.html.haml index 9a1e899..a064c4e 100644 --- a/help/app/views/tickets/_ticket.html.haml +++ b/help/app/views/tickets/_ticket.html.haml @@ -1,5 +1,6 @@ +- url = auto_ticket_path(ticket) %tr - %td= link_to ticket.title, ticket - %td= link_to ticket.created_at.to_s(:short), ticket - %td= link_to ticket.updated_at.to_s(:short), ticket + %td= link_to ticket.title, url + %td= link_to ticket.created_at.to_s(:short), url + %td= link_to ticket.updated_at.to_s(:short), url %td= ticket.commenters |