summaryrefslogtreecommitdiffstats
path: root/app/views/news/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/news/show.rhtml')
-rw-r--r--app/views/news/show.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index 7861a3d01..af93af261 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -16,8 +16,8 @@
<%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
<%= link_to_remote l(:label_preview),
- { :url => { :controller => 'news', :action => 'preview', :project_id => @project },
- :method => 'post',
+ { :url => { :controller => 'previews', :action => 'news', :project_id => @project },
+ :method => 'get',
:update => 'preview',
:with => "Form.serialize('news-form')"
}, :accesskey => accesskey(:preview) %> |