summaryrefslogtreecommitdiffstats
path: root/app/views/issues/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/show.html.erb')
-rw-r--r--app/views/issues/show.html.erb9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/issues/show.html.erb b/app/views/issues/show.html.erb
index 5601e0e3f..fa81e4645 100644
--- a/app/views/issues/show.html.erb
+++ b/app/views/issues/show.html.erb
@@ -70,10 +70,11 @@ end %>
<hr />
<% if @issue.description? %>
<div class="contextual">
- <%= link_to_remote_if_authorized(
- l(:button_quote),
- { :url => {:controller => 'journals', :action => 'new', :id => @issue} },
- :class => 'icon icon-comment') %>
+ <%= link_to l(:button_quote),
+ {:controller => 'journals', :action => 'new', :id => @issue},
+ :remote => true,
+ :method => 'post',
+ :class => 'icon icon-comment' if authorize_for('issues', 'edit') %>
</div>
<p><strong><%=l(:field_description)%></strong></p>