A wrong URL in My Page's block

This commit is contained in:
Karel Picman 2016-06-06 09:25:30 +02:00
parent 8ef03b026f
commit a73a89d738

View File

@ -32,9 +32,9 @@
<table class="list">
<thead>
<tr>
<th><%=l(:field_project)%></th>
<th><%=l(:label_document)%>/<%=l(:field_folder)%></th>
<th><%=l(:field_folder)%></th>
<th><%= l(:field_project) %></th>
<th><%= l(:label_document) %>/<%= l(:field_folder) %></th>
<th><%= l(:field_folder) %></th>
</tr>
</thead>
<tbody>
@ -71,7 +71,7 @@
<td class="title">
<% if file.dmsf_folder %>
<%= link_to(h(file.dmsf_folder.title),
{:controller => 'dmsf', :action => 'show', :id => file.project, :folder_id => file.folder}) %>
{:controller => 'dmsf', :action => 'show', :id => file.project, :folder_id => file.dmsf_folder}) %>
<% else %>
<%= link_to(l(:link_documents), {:controller => 'dmsf', :action => 'show', :id=> file.project }) %>
<% end %>