From 1aacc48f0c200616bc508ad5a43f2af833ba5078 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 15 Dec 2019 18:20:37 -0800 Subject: [PATCH] Remove forgotten traces of laroute --- config/laroute.php | 56 ------------------------ resources/views/layouts/admin.blade.php | 1 - resources/views/layouts/error.blade.php | 1 - resources/views/layouts/master.blade.php | 1 - 4 files changed, 59 deletions(-) delete mode 100644 config/laroute.php diff --git a/config/laroute.php b/config/laroute.php deleted file mode 100644 index b2b4a2f3..00000000 --- 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 aaf8f4ca..ee455b1f 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 0ec1b00f..89b85fd2 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 f83a6f15..6e8944b8 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}') !!}