1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

Locals are not used in the partial (#4266).

git-svn-id: http://svn.redmine.org/redmine/trunk@15140 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-01-31 11:03:42 +00:00
parent afc4e0b39d
commit f761d74316
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<%= render :partial => 'changeset', :locals => {:repository => @repository, :changeset => @changeset} %>
<%= render :partial => 'changeset' %>
<!-- Choose view type -->
<%= form_tag({:action => 'diff', :id => @project,

View File

@ -26,7 +26,7 @@
<% end %>
</div>
<%= render :partial => 'changeset', :locals => {:repository => @repository, :changeset => @changeset} %>
<%= render :partial => 'changeset' %>
<% if User.current.allowed_to?(:browse_repository, @project) %>
<h3><%= l(:label_attachment_plural) %></h3>