Support the ongoing development of Laravel.io →
posted 9 years ago
Requests
Last updated 1 year ago.
0

Try renaming your controller to NewsesController.php and change the class name inside of the file to match the file.

class NewsesController extends BaseController {

Then in your route use:

Route::get ('news', 'NewsesController@index');
Last updated 1 year ago.
0

i have already tried this but no result

Last updated 1 year ago.
0

Check your app.php file in the /app/config directory. And set debug mode to true so we can see the actual error message.

Last updated 1 year ago.
0

First set your app in debug mode by going to config/app.php and change debug to true.

Now you will find what the error is

Last updated 1 year ago.
0

Thank you guys now my problem is solved.i am new in laravel so you if guys give me some tips that will be helpful to me

Last updated 1 year ago.
0

Check out laracasts.com. They have lots of great videos for just about anything you would want to learn from developer's best practices to all the features of laravel.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Mohib1992 mohib1992 Joined 7 Aug 2014

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.