Laravel. How to set route correctly?

Laravel 5.2. Command php artisan make:auth and created documentation.
There is a route Route::auth(); all standard.
Change the route "/ register/", adding the url parameter:
Route::get('register/{url}', 'Auth\AuthController@showRegistrationForm');

On the registration page gets, but absolutely all the styles and js stop working on the page, like he's not taking it as a parameter, but as a different page.

Example, a line like localhost/register/si9Y827O7MLankCc9W8FLCJ3Sy9pFpt... :
July 12th 19 at 17:10
2 answers
July 12th 19 at 17:12
So as you stand take a look, where did the styles and why, maybe with the url to the css file something is wrong.
True, he believed in /register/ address. Did

This type, worked. This was without a Directive and blade and worked, and then stopped :) - rollin_Colli commented on July 12th 19 at 17:15
July 12th 19 at 17:14
Do the relative styles

always with a slash in front
And it is better {{ asset('/js/my.js') }}
It is necessary to use all the charms of the Blade :) - rollin_Colli commented on July 12th 19 at 17:17
: well, firstly - this is not blade. Second asset was invented. They have deeper functionality - luther.Schroeder64 commented on July 12th 19 at 17:20

Find more questions by tags LaravelPHP