From c7177593aaf2b1b8fd8dbd53b9cfb6562e1411d7 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 5 Nov 2012 13:18:43 -0800 Subject: 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. --- help/app/views/tickets/show.html.haml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'help/app/views') 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 -- cgit v1.2.3