app/views/layouts/admin.html.erb in slices-1.0.3 vs app/views/layouts/admin.html.erb in slices-1.0.4
- old
+ new
@@ -10,10 +10,10 @@
<%= javascript_include_tag 'slices/slices' %>
<%= render "admin/shared/asset_storage" %>
<meta name="robots" content="noindex, nofollow">
<script type="text/javascript">
- $(document).ready(function() {
+ $(function() {
<%= yield :js_head %>
});
</script>
</head>
<body class="<%= body_class_from_controller %>">