Commit 4d6077fc4eddf8e41e8b6149c27550ba109be716
Committed by
Rafael Manzo
1 parent
53b056d3
Exists in
colab
and in
4 other branches
Fixed broken cucumber tests
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
app/views/projects/show.html.erb
| ... | ... | @@ -2,7 +2,9 @@ |
| 2 | 2 | <div class="page-header"> |
| 3 | 3 | <div class="media"> |
| 4 | 4 | <a class="pull-left"> |
| 5 | - <%= image_tag "#{@project_image.image_url}", size:"64x64" %> | |
| 5 | + <% if @project_image %> | |
| 6 | + <%= image_tag "#{@project_image.image_url}", size:"64x64" %> | |
| 7 | + <% end %> | |
| 6 | 8 | </a> |
| 7 | 9 | <div class="media-body"> |
| 8 | 10 | <h4 class="media-heading"> | ... | ... |