From: Toshi MARUYAMA Date: Tue, 18 Sep 2012 03:15:00 +0000 (+0000) Subject: fix deprecation warning of the format in the template name X-Git-Tag: 2.2.0~370 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cbe28d75d0001555a100cf35f23b25d76d12fcf4;p=redmine.git fix deprecation warning of the format in the template name git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10419 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/bulk_edit.js.erb b/app/views/issues/bulk_edit.js.erb index 98cdb8b82..ac84ad1d9 100644 --- a/app/views/issues/bulk_edit.js.erb +++ b/app/views/issues/bulk_edit.js.erb @@ -1 +1 @@ -$('#content').html('<%= escape_javascript(render :template => 'issues/bulk_edit.html') %>'); +$('#content').html('<%= escape_javascript(render :template => 'issues/bulk_edit', :formats => [:html]) %>'); diff --git a/app/views/repositories/new.js.erb b/app/views/repositories/new.js.erb index d62580b05..00fd9cf8a 100644 --- a/app/views/repositories/new.js.erb +++ b/app/views/repositories/new.js.erb @@ -1 +1 @@ -$('#content').html('<%= escape_javascript(render :template => 'repositories/new.html') %>'); +$('#content').html('<%= escape_javascript(render :template => 'repositories/new', :formats => [:html]) %>');