Laravel Episode 11: Updating My Profile


episode 10

Episode 11: Updating My Profile

 

  • Changes in between episode 10 and 11
    • Cleaned up code in routes file.
    • Go through code and replaced Role::userHasRole() with User::hasRoles().
    • Removed __construct() from ProductController.
    • Update database diagram to match current database schema.
  • Create route for /my-profile.
    • Create new route group for auth middleware.
  • Create methods in UserController.
    • myProfile()
    • myProfileUpdate()
      • Make sure to show that the password field is optional.
  • Create view users/my_profile.blade.php.
  • Create link in navbar for my profile interface.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s