From: Jean-Philippe Lang Date: Sun, 31 Jan 2016 11:03:42 +0000 (+0000) Subject: Locals are not used in the partial (#4266). X-Git-Tag: 3.3.0~259 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f761d74316af7e521dfedadd9a9b264d74a0e6a0;p=redmine.git Locals are not used in the partial (#4266). git-svn-id: http://svn.redmine.org/redmine/trunk@15140 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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) %>