summaryrefslogtreecommitdiffstats
path: root/app/views/wiki
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-22 16:20:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-22 16:20:20 +0000
commitcac3b1e5381d0756ba9bb6bcb356a4b081f3407d (patch)
tree0db0a74406411e65697abe5150d56465dcc51818 /app/views/wiki
parent2fbf7bbcf1af756c4d0de3c7de96194376d33f1d (diff)
downloadredmine-cac3b1e5381d0756ba9bb6bcb356a4b081f3407d.tar.gz
redmine-cac3b1e5381d0756ba9bb6bcb356a4b081f3407d.zip
Refactor: split WikiController#edit into #update
update will handle the saving and should be accessed via POST only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4272 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-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 19052a318..b14bfb720 100644
--- a/app/views/wiki/edit.rhtml
+++ b/app/views/wiki/edit.rhtml
@@ -1,6 +1,6 @@
<h2><%=h @page.pretty_title %></h2>
-<% form_for :content, @content, :url => {:action => 'edit', :page => @page.title}, :html => {:multipart => true, :id => 'wiki_form'} do |f| %>
+<% form_for :content, @content, :url => {:action => 'update', :page => @page.title}, :html => {:multipart => true, :id => 'wiki_form'} do |f| %>
<%= f.hidden_field :version %>
<%= error_messages_for 'content' %>