diff app/helpers/application_helper.rb @ 140:4272e09f4b5f cannam-pre-20110113-merge

Allow list of managers, if more than one row, to overlap with description rather than pushing description down
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 20 Jan 2011 10:01:33 +0000
parents 6a2f8e88344e
children e47742d68d2d
line wrap: on
line diff
--- a/app/helpers/application_helper.rb	Thu Jan 20 10:00:51 2011 +0000
+++ b/app/helpers/application_helper.rb	Thu Jan 20 10:01:33 2011 +0000
@@ -52,7 +52,7 @@
     if user.is_a?(User)
       name = h(user.name(options[:format]))
       if user.active?
-        link_to name, :controller => 'users', :action => 'show', :id => user
+        link_to(name, :controller => 'users', :action => 'show', :id => user)
       else
         name
       end