I was wondering if there is a more elegant or in any way "correct" way of adding additional routes to resource controller?
For instance I could have
UsersController
Route::resource('users', 'UserController');
Route::get('users/token', 'UserController@authToken');
No, there is no better way to do that. Since ::controller
was deprecated, you should explicitly declare each additional route.