From f761d74316af7e521dfedadd9a9b264d74a0e6a0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 31 Jan 2016 11:03:42 +0000 Subject: [PATCH] Locals are not used in the partial (#4266). git-svn-id: http://svn.redmine.org/redmine/trunk@15140 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/repositories/diff.html.erb | 2 +- app/views/repositories/revision.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/repositories/diff.html.erb b/app/views/repositories/diff.html.erb index f4f66ade2..1fceb79ce 100644 --- a/app/views/repositories/diff.html.erb +++ b/app/views/repositories/diff.html.erb @@ -1,4 +1,4 @@ -<%= render :partial => 'changeset', :locals => {:repository => @repository, :changeset => @changeset} %> +<%= render :partial => 'changeset' %> <%= form_tag({:action => 'diff', :id => @project, diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb index 5c1a10e78..9d6116f5f 100644 --- a/app/views/repositories/revision.html.erb +++ b/app/views/repositories/revision.html.erb @@ -26,7 +26,7 @@ <% end %> -<%= render :partial => 'changeset', :locals => {:repository => @repository, :changeset => @changeset} %> +<%= render :partial => 'changeset' %> <% if User.current.allowed_to?(:browse_repository, @project) %>

<%= l(:label_attachment_plural) %>

-- 2.39.5