fix images not loading

This commit is contained in:
Andrew Brown 2018-09-17 13:49:38 -05:00
parent 7705d4cbd0
commit 9dec1bcbbd

View File

@ -16,14 +16,14 @@
<% end %>
</div>
<%= content_for :javascripts do %>
<script type="text/javascript">
$(document).ready(function(){
$('.slider').slider({
height: 200,
indicators: false
});
});
<% end %>
</script>
<% if @content.persisted? %>
<%= render partial: 'content/share', locals: { shared_content: @content} %>