Skip to content

Commit

Permalink
Fixed illegal routing in the feeling preview
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiKita committed Feb 16, 2012
1 parent e065e9c commit 4536fc4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/feelings/_show.html.erb
Expand Up @@ -19,7 +19,11 @@
<div class="contextual"><%= link_to_feeling_list(:user=>feeling.user) %></div>
<h3><%= index_for(feeling, true) %></h3>
<ul>
<%= link_to_feeling(feeling, @project && @project.identifier) %>
<% if preview %>
<%= image_for(feeling) %>
<% else %>
<%= link_to_feeling(feeling, @project && @project.identifier) %>
<% end %>
</ul>
<% if feeling.has_description? %>
<div class="wiki">
Expand Down

0 comments on commit 4536fc4

Please sign in to comment.