2018-07-25 16:09:20 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The destination path for the javascript file.
|
|
|
|
*/
|
|
|
|
'path' => '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' => 'laroute',
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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' => 'only',
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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' => 'resources/assets/js/laroute.js',
|
2018-07-25 16:15:35 +02:00
|
|
|
|
2018-07-25 16:09:20 +02:00
|
|
|
/*
|
|
|
|
* Appends a prefix to URLs. By default the prefix is an empty string.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
'prefix' => '',
|
|
|
|
|
|
|
|
];
|