initial commit
This commit is contained in:
commit
28301e4312
219 changed files with 23035 additions and 0 deletions
14
app/Role.php
Executable file
14
app/Role.php
Executable file
|
@ -0,0 +1,14 @@
|
|||
<?php namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Role extends Model {
|
||||
|
||||
public function users()
|
||||
{
|
||||
|
||||
return $this->belongsToMany('App\User');
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue