Support the ongoing development of Laravel.io →

Bobeta

Joined 5 Sep 2015

Statistics

Threads 2
Replies 5
Solutions 0
Articles 0

Refresh view when new articles get added

I'm using laravel 5.1 for a simple app. Right now I have a simple front-end and back-end. If I add n...

0 Likes
0 Replies

Can't associate id to the same as users

I want to add the same club_id to the newly created user as the logged in user that is creating him...

0 Likes
11 Replies
replied 8 years ago

Can't associate id to the same as users

I managed to solve it by adding use Input; at the top of AuthController and this code: if(I...

0 Likes
replied 8 years ago

Can't associate id to the same as users

rberlin01 said: What's the route and method declaration look like? It's the standard one from auth...

0 Likes
replied 8 years ago

Can't associate id to the same as users

rberlin01 said: Look for the input, if not there use the user's. if(isset($request->input('club...

0 Likes
replied 8 years ago

Can't associate id to the same as users

rberlin01 said: Also, have you done an echo on Auth::user()->club_id to ensure that the logged i...

0 Likes
replied 8 years ago

Can't associate id to the same as users

rberlin01 said: also, see your AuthController below return User::create([ 'name' => $d...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.