Skip to content

Commit 9dec1bc

Browse files
committed
fix images not loading
1 parent 7705d4c commit 9dec1bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/views/content/edit.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
<% end %>
1717
</div>
1818

19-
<%= content_for :javascripts do %>
19+
<script type="text/javascript">
2020
$(document).ready(function(){
2121
$('.slider').slider({
2222
height: 200,
2323
indicators: false
2424
});
2525
});
26-
<% end %>
26+
</script>
2727

2828
<% if @content.persisted? %>
2929
<%= render partial: 'content/share', locals: { shared_content: @content} %>

0 commit comments

Comments
 (0)