diff options
Diffstat (limited to 'app/views/news/new.rhtml')
-rw-r--r-- | app/views/news/new.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/news/new.rhtml b/app/views/news/new.rhtml index 74ae64ae8..929e6b874 100644 --- a/app/views/news/new.rhtml +++ b/app/views/news/new.rhtml @@ -5,8 +5,8 @@ <%= render :partial => 'news/form', :locals => { :f => f } %> <%= submit_tag l(:button_create) %> <%= 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) %> |