diff options
-rw-r--r-- | app/views/wiki/edit.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 48025b368..0bc6322f9 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -15,7 +15,7 @@ <p><label><%= l(:field_comment) %></label><br /><%= f.text_field :comment, :size => 120 %></p> <p><%= submit_tag l(:button_save) %> <%= link_to_remote l(:label_preview), - { :url => { :controller => 'wiki', :action => 'preview', :id => @project }, + { :url => { :controller => 'wiki', :action => 'preview', :id => @project, :page => @page.title }, :method => 'get', :update => 'preview', :with => "Form.serialize('wiki_form')", |