Skip to content

Commit

Permalink
FIX event image seed
Browse files Browse the repository at this point in the history
  • Loading branch information
EleoXDA committed Sep 15, 2022
1 parent 02abdd3 commit 01d97b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/events/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
<% if @event.photo.attached? %>
<%= cl_image_tag @event.photo.key, class: "event-image" %>
<% else %>
<%= image_tag @event.image, class: "event-image" %>
<img src="<%= @event.image %>", class="event-image" >
<%#= image_tag @event.image, class: "event-image" %>
<% end %>
</div>
<%= link_to "Tickets", "#",class: "event-button" %> <br><br>
Expand Down

0 comments on commit 01d97b0

Please sign in to comment.