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.
Share the Post:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Photo of R1S with axe

Rivian R1 Dual Standard Is Gone: New Starting Prices, Last Lease Deals, and the R2 Launch

Rivian has officially confirmed the end of the Dual Standard configuration for the R1T and R1S, raising the entry price by $7,000 across the board. Between LFP battery calibration failures, the upcoming R2 reveal, and a potential pricing strategy shift, there’s a lot more going on here than a simple trim cut. Here’s what it means for buyers — and what it could signal about where Rivian is headed.

Read More