beaulm / apibase

Adds default RESTful API functionality to Laravel
4 stars 1 forks source link

Get user in your API controller #1

Open daveganley opened 10 years ago

daveganley commented 10 years ago

I think you can get the user ID without the additional DB call with Auth::user()->id

beaulm commented 10 years ago

Thanks!

On Wed, Jul 30, 2014 at 5:40 PM, Dave Ganley notifications@github.com wrote:

I think you can get the user ID without the additional DB call with Auth::user()->id

— Reply to this email directly or view it on GitHub https://github.com/beaulm/apibase/issues/1.