mirror of
https://github.com/kevin-DL/commander_league_api.git
synced 2026-01-16 12:44:33 +00:00
Profile
- Save the profile into the current request when the user is authenticated - Created the migration for the profiles table - Created the Profile model - Created route to retrieve the current user's profile
This commit is contained in:
@@ -17,3 +17,5 @@ $router->get('/', function () use ($router) {
|
||||
});
|
||||
|
||||
$router->get('/formats', ['uses' => 'FormatsController@index', 'as' => 'formats.list']);
|
||||
|
||||
$router->get('/profiles', ['uses' => 'ProfilesController@current', 'as' => 'profiles.current', 'middleware' => 'auth']);
|
||||
|
||||
Reference in New Issue
Block a user