diff --git a/config/laroute.php b/config/laroute.php deleted file mode 100644 index b2b4a2f30..000000000 --- a/config/laroute.php +++ /dev/null @@ -1,56 +0,0 @@ - 'public/js', - - /* - * The destination filename for the javascript file. - */ - 'filename' => 'laroute', - - /* - * The namespace for the helper functions. By default this will bind them to - * `window.laroute`. - */ - 'namespace' => 'Router', - - /* - * Generate absolute URLs - * - * Set the Application URL in config/app.php - */ - 'absolute' => false, - - /* - * The Filter Method - * - * 'all' => All routes except "'laroute' => false" - * 'only' => Only "'laroute' => true" routes - * 'force' => All routes, ignored "laroute" route parameter - */ - 'filter' => 'all', - - /* - * Controller Namespace - * - * Set here your controller namespace (see RouteServiceProvider -> $namespace) for cleaner action calls - * e.g. 'App\Http\Controllers' - */ - 'action_namespace' => '', - - /* - * The path to the template `laroute.js` file. This is the file that contains - * the ported helper Laravel url/route functions and the route data to go - * with them. - */ - 'template' => 'vendor/lord/laroute/src/templates/laroute.js', - - /* - * Appends a prefix to URLs. By default the prefix is an empty string. - * - */ - 'prefix' => '', -]; diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php index aaf8f4cac..ee455b1fc 100644 --- a/resources/views/layouts/admin.blade.php +++ b/resources/views/layouts/admin.blade.php @@ -176,7 +176,6 @@ {!! Theme::js('js/keyboard.polyfill.js') !!} - {!! Theme::js('js/laroute.js?t={cache-version}') !!} {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} {!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!} {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} diff --git a/resources/views/layouts/error.blade.php b/resources/views/layouts/error.blade.php index 0ec1b00fa..89b85fd2d 100644 --- a/resources/views/layouts/error.blade.php +++ b/resources/views/layouts/error.blade.php @@ -60,7 +60,6 @@ @section('footer-scripts') - {!! Theme::js('js/laroute.js?t={cache-version}') !!} {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} {!! Theme::js('vendor/slimscroll/jquery.slimscroll.min.js?t={cache-version}') !!} diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index f83a6f151..6e8944b8d 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -277,7 +277,6 @@ {!! Theme::js('js/keyboard.polyfill.js?t={cache-version}') !!} - {!! Theme::js('js/laroute.js?t={cache-version}') !!} {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} {!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!} {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!}