Q
Q
qtcute2016-07-14 05:20:02
JavaScript
qtcute, 2016-07-14 05:20:02

How to change is_admin in mongodb?

User.php has the following options:

/**
* The attributes that are mass assignable.
*
* var array
*/
protected $fillable = ['username', 'avatar', 'steamid', 'is_admin', 'trade_url', 'accessToken'];

How to add an admin panel to the second user on this screen in mongodb ? I understand that you need to set some option for is_admin

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wheelie, 2016-01-28
@Wheelie

I do like this.
$('body').on('click', '.load', function(){});

3
333Serega333 333Serega333, 2016-01-28
@333Serega333

I'll just leave this here
api.jquery.com/on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question