##Defining Route:##
Route::get('edit-industry/{id}', ['as' => 'admin.editIndustry', 'uses' => 'Industries@edit']);
##Calling Route:##
{{ route('admin.editIndustry',[$id]) }}
<a href="{{ route('blog.by.slug', ['slug' => 'someslug']) }}">...</a>
Code Example |
---|
:: |
:: |
Php :: |
:: |
Php :: |
Javascript :: |
:: |
Javascript :: |
:: |
:: |
:: |
:: |
:: |
Javascript :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Javascript :: |
Javascript :: |
:: |
:: |
Javascript :: |
:: yarn angular cli |
:: js replace space with underscore |