routes.php
Route::resource('task', 'TaskController' );
Route::group(array('prefix' => 'task'), function()
{
Route::get('reminder', TaskController@reminder');
});
TaskController.php
public function reminder()
{
echo 'reminder';
}
the echo is not working, however when I swap group and resource it will work. Is it this is the laravel sequence?
Nope, I tried return or echo also not working. It will work I put the code before the resource. It will not work if I put after resource, either echo or return.
i tested your code, it working no anyproblem.
Hi, here is the proof of my video
Hope here hopefully can get a better understanding for my problem.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community