summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-03 22:24:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-04-03 22:24:59 +0000
commit18a6b8e1012c2b777f9543dda4d8c4e3808cc7f8 (patch)
tree1aaf96934e159370e21701f8054dee7fc2eb1810
parent52ced19e2e58b420c83c3dda0637439209f85f4f (diff)
downloadredmine-18a6b8e1012c2b777f9543dda4d8c4e3808cc7f8.tar.gz
redmine-18a6b8e1012c2b777f9543dda4d8c4e3808cc7f8.zip
Fixed 9793 Preview fail for first wiki page of a project
git-svn-id: http://redmine.rubyforge.org/svn/trunk@411 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/wiki/edit.rhtml2
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')",