From cbe28d75d0001555a100cf35f23b25d76d12fcf4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 18 Sep 2012 03:15:00 +0000 Subject: [PATCH] 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 --- app/views/issues/bulk_edit.js.erb | 2 +- app/views/repositories/new.js.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]) %>'); -- 2.39.5