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');
Check your app.php file in the /app/config directory. And set debug mode to true so we can see the actual error message.
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
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
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community