From ab92280a7f378d04158390c1e71ec707397f825d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 29 Apr 2012 04:08:59 +0000 Subject: [PATCH] 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 --- app/views/projects/settings/_wiki.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' %> -- 2.39.5