changeset 460:9bdb8e3b9135 feature_36

Publication index action in Project context correctly links to show view (within project context).
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 16 Jun 2011 13:45:19 +0100
parents 0f9097245756
children 841b2e40895d
files vendor/plugins/redmine_bibliography/app/views/publications/index.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/views/publications/index.html.erb	Thu Jun 16 13:33:34 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/views/publications/index.html.erb	Thu Jun 16 13:45:19 2011 +0100
@@ -15,7 +15,7 @@
     <% @publications.each do |publication| %>
 	    <tr>
 	      <td><%= publication.id %></td>
-	      <td><%= publication.title %></td>
+	      <td><%= link_to publication.title, :controller => "publications", :action => "show", :id => publication, :project_id => @project %></td>
 	 	  </tr>
     <% end %>    
   </table>