summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-04-29 04:08:59 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-04-29 04:08:59 +0000
commitab92280a7f378d04158390c1e71ec707397f825d (patch)
tree29c933219a6f3170fc1d6d75c398caa93155df51
parentc0891e8a782ed3413e8fbd85da97f1a62298d654 (diff)
downloadredmine-ab92280a7f378d04158390c1e71ec707397f825d.tar.gz
redmine-ab92280a7f378d04158390c1e71ec707397f825d.zip
view: labelled_remote_form_for: equals sign mandatory to print blocks and use :as
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9574 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/projects/settings/_wiki.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/settings/_wiki.html.erb b/app/views/projects/settings/_wiki.html.erb
index 0ef494ba3..4706a671b 100644
--- a/app/views/projects/settings/_wiki.html.erb
+++ b/app/views/projects/settings/_wiki.html.erb
@@ -1,4 +1,5 @@
-<% labelled_remote_form_for :wiki, @wiki,
+<%= labelled_remote_form_for @wiki,
+ :as => :wiki,
:url => { :controller => 'wikis', :action => 'edit', :id => @project } do |f| %>
<%= error_messages_for 'wiki' %>