Modified: branches/wf4ever/app/helpers/application_helper.rb (3512 => 3513)
--- branches/wf4ever/app/helpers/application_helper.rb 2013-04-14 10:11:21 UTC (rev 3512)
+++ branches/wf4ever/app/helpers/application_helper.rb 2013-04-16 14:08:54 UTC (rev 3513)
@@ -1324,9 +1324,9 @@
if user
link_to(h(user.name), user)
elsif opts[:label]
- link_to(h(opts[:label]), @creator)
+ link_to(h(opts[:label]), uri)
else
- link_to(h(@creator), @creator)
+ link_to(h(uri), uri)
end
end
Modified: branches/wf4ever/app/views/packs/show.rhtml (3512 => 3513)
--- branches/wf4ever/app/views/packs/show.rhtml 2013-04-14 10:11:21 UTC (rev 3512)
+++ branches/wf4ever/app/views/packs/show.rhtml 2013-04-16 14:08:54 UTC (rev 3513)
@@ -24,7 +24,7 @@
</ul>
<% end %>
-<h1 class="contribution_title">Pack: <%= contributable_name(@pack.id, 'Pack') %></h1>
+<h1 class="contribution_title">Pack: <%= h(@title) %></h1>
<%= render :partial => "contributions/datetime_info", :locals => { :contributable => @pack } -%>