Support the ongoing development of Laravel.io →
Requests Views Blade
Last updated 2 years ago.
0

%7B and %7D are the URL encodings for { and }.

I suspect you haven't written the entry in your routes file properly.

Here's a copy of the routes for a Company model that I have...

Route::model('company', 'Company');

//Showpages.
Route::group(array('before' => 'auth'), function()
{
	Route::get('/companies', array('as' => 'companies', 'before' => 'hasAccess:companies.*', 'uses' => 'CompanyController@index'));
	Route::get('/companies/create/{dynamicFields?}',            array('before' => 'hasAccess:company.create', 'uses' => 'CompanyController@create'));
	Route::get('/companies/edit/{company}',    array('before' => 'hasAccess:company.edit',   'uses' => 'CompanyController@edit'));
	Route::get('/companies/suspend/{company}', array('before' => 'hasAccess:company.suspend','uses' => 'CompanyController@suspend'));
	Route::get('/companies/delete/{company}',  array('before' => 'hasAccess:company.delete', 'uses' => 'CompanyController@delete'));
	Route::get('/companies/show/{company}',    array('before' => 'hasAccess:company.show',   'uses' => 'CompanyController@singleCompany'));
});
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.