Commit aa273450 authored by Nicolas Widart's avatar Nicolas Widart

Use the new asset method signature

parent 9d8cdf71
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@stop @stop
@section('styles') @section('styles')
<link href="{!! Module::asset('core', 'css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('core:css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" />
@stop @stop
@section('content') @section('content')
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@stop @stop
@section('styles') @section('styles')
<link href="{!! Module::asset('core', 'css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('core:css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" />
@stop @stop
@section('content') @section('content')
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@stop @stop
@section('styles') @section('styles')
<link href="{!! Module::asset('core', 'css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('core:css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" />
@stop @stop
@section('content') @section('content')
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
@stop @stop
@section('styles') @section('styles')
<link href="{!! Module::asset('core', 'css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('core:css/vendor/iCheck/flat/blue.css') !!}" rel="stylesheet" type="text/css" />
<link href="{!! Module::asset('menu', 'css/nestable.css') !!}" rel="stylesheet" type="text/css" /> <link href="{!! Module::asset('menu:css/nestable.css') !!}" rel="stylesheet" type="text/css" />
@stop @stop
@section('content') @section('content')
...@@ -97,7 +97,7 @@ $( document ).ready(function() { ...@@ -97,7 +97,7 @@ $( document ).ready(function() {
}); });
}); });
</script> </script>
<script src="{!! Module::asset('menu', 'js/jquery.nestable.js') !!}"></script> <script src="{!! Module::asset('menu:js/jquery.nestable.js') !!}"></script>
<script> <script>
$( document ).ready(function() { $( document ).ready(function() {
$('.dd').nestable(); $('.dd').nestable();
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
"autoWidth": true, "autoWidth": true,
"order": [[ 0, "asc" ]], "order": [[ 0, "asc" ]],
"language": { "language": {
"url": '<?php echo Module::asset('core', "js/vendor/datatables/{$locale}.json") ?>' "url": '<?php echo Module::asset("core:js/vendor/datatables/{$locale}.json") ?>'
}, },
"columns": [ "columns": [
null, null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment