Can any one help me I have to redirect search module after login to search listing page else when user will login will go to home page how i will achieve it. routes.php is below:
Route::group(array('before' => ['auth' ,'temp-actions']), function(){
Route::get('doc_search',
array(
'as' => 'search',
'uses' => 'App\Modules\Core\Controllers\SearchController@index'
)
);
}
});
Please please help me out