]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/issues_helper.rb
Fixed existing tests
[rails.git] / app / helpers / issues_helper.rb
index 109599be4d7a9ccb4291f4f20ac08621ca5a8d40..b063935ea3c851649b066269de5408013d28c652 100644 (file)
@@ -9,7 +9,7 @@ module IssuesHelper
                                                                                                                                :display_name => reportable.user.display_name,
                                                                                                                                :id => reportable.id
                when "User"
-                       link_to reportable.display_name,        :controller => reportable.class.name.underscore,
+                       link_to reportable.display_name.to_s,   :controller => reportable.class.name.underscore,
                                                                                                                                                                :action => "view",
                                                                                                                                                                :display_name => reportable.display_name
                when "DiaryComment"