/
var
/
www
/
cobraambalaj
/
vendor
/
mcamara
/
laravel-localization
/
src
/
stubs
/
/var/www/cobraambalaj/vendor/mcamara/laravel-localization/src/stubs
mkdir
upload
Name
Size
Mode
Actions
routes.stub
644
0644
edit
dl
rm
Edit:
/var/www/cobraambalaj/vendor/mcamara/laravel-localization/src/stubs/routes.stub
(644B)
<?php /* |-------------------------------------------------------------------------- | Load The Translated Cached Routes |-------------------------------------------------------------------------- | | Here we will decode and unserialize the RouteCollection instance that | holds all of the route information for an application. This allows | us to instantaneously load the entire route map into the router. | | This also preps LaravelLocalization to deal with translated routes. | */ app('router')->setRoutes( unserialize(base64_decode('{{routes}}')) ); app('laravellocalization')->setSerializedTranslatedRoutes('{{translatedRoutes}}');
Save
cmd:
run