diff options
author | jessib <jessib@riseup.net> | 2012-11-05 13:18:43 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2012-11-05 13:18:43 -0800 |
commit | c7177593aaf2b1b8fd8dbd53b9cfb6562e1411d7 (patch) | |
tree | 476e067b49bc740890e44e5abbf42408ee41d6d2 /help/app/views/tickets | |
parent | 3515a598341282c20feb5950a81f43552280688d (diff) |
Use the same URL for viewing tickets when authenticated or not---the couchdb ID will be the random string for the secret URL.
Tickets created when user was unauthenticated will be viewable by anybody who knows the URL.
Diffstat (limited to 'help/app/views/tickets')
-rw-r--r-- | help/app/views/tickets/show.html.haml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/help/app/views/tickets/show.html.haml b/help/app/views/tickets/show.html.haml index 3fb1d34..92b8d03 100644 --- a/help/app/views/tickets/show.html.haml +++ b/help/app/views/tickets/show.html.haml @@ -5,9 +5,6 @@ - if flash[:alert] =flash[:alert] %h2= @ticket.title -- if @ticket.code - code: - = @ticket.code - if @ticket.email email: = @ticket.email @@ -24,6 +21,6 @@ = #render :partial => 'new_comment' = f.label :is_open = f.select :is_open, [true, false] - = f.button :submit # have button to close - = # want to ahve button to close + = f.button :submit + = # TODO want to have button to close = link_to t(:cancel), tickets_path, :class => :btn
\ No newline at end of file |