Skip to content

Commit

Permalink
fix images not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
drusepth committed Sep 17, 2018
1 parent 7705d4c commit 9dec1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/content/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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} %>
Expand Down

0 comments on commit 9dec1bc

Please sign in to comment.