Just add a route to that method separately, before you register the resource:
Route::get('foo/bar', 'FooController@bar');
Route::resource('foo', 'FooController');
More Related Contents:
- Group by not working – Laravel
- Laravel Eloquent groupBy() AND also return count of each group
- Laravel – Route::resource vs Route::controller
- Uploading Laravel Project onto Web Server
- Chrome redirects .dev to https
- global variable for all controller and views
- How can I remove a package from Laravel using PHP Composer?
- multiple mail configurations
- Laravel. Use scope() in models with relation
- How to disable CSRF Token in Laravel and why we have to disable it?
- Class ‘Illuminate\Html\HtmlServiceProvider’ not found Laravel 5
- Getting just the latest value on a joined table with Eloquent
- Composer error while installing Laravel: ‘mbstring’ is missing?
- Rollback one specific migration in Laravel
- How to compare two Carbon Timestamps?
- laravel Unable to prepare route … for serialization. Uses Closure
- How to delete file from public folder in laravel 5.1
- Laravel 5 – Manual pagination
- How to fix error on Foreign key constraint incorrectly formed in migrating a table in Laravel
- What is difference between use env(‘APP_ENV’), config(‘app.env’) or App::environment() to get app environment?
- Validation of array form fields in laravel 4 error
- “Please provide a valid cache path” error in laravel
- How to clear Laravel route caching on server
- How to add jQuery in Laravel project
- Laravel 4: Failed to open stream: Permission denied
- Add sql table column before or after specific other column – by migrations in Laravel 4.1
- Laravel: Returning the namespaced owner of a polymorphic relation
- Undefined class Route (Laravel in PhpStorm)
- Polymorphic Eloquent relationships with namespaces
- PHP: Generate Laravel Paginator Secure (HTTPS) Links