I am using Laravel Framework version 4.2.17. I have made a new controller, model and Views on my localhost and after testing the code i uploaded them to live server.
For routes i am using laravel resources:
Route::resource('templates', 'EmailsController',['as' => 'admin']);
My controller is inside a folder i.e
app->controllers->admin
File name is: EmailsController.php
Controller: class EmailsController extends \AdminBaseController {...}
Now if i access
www.example.com/admin/templates
for this specific controller is am getting 500 error. If i change the route to other controller i.e
Route::resource('templates', 'JobsController',['as' => 'admin']);
the link
www.example.com/admin/templates
shows me all job listing.
Any Ideas?
Thanks