1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00
BookStack/app/Permission.php

17 lines
271 B
PHP
Raw Normal View History

2015-08-29 16:03:42 +02:00
<?php
namespace BookStack;
2015-08-29 16:03:42 +02:00
use Illuminate\Database\Eloquent\Model;
class Permission extends Model
{
/**
* The roles that belong to the permission.
*/
public function roles()
{
return $this->belongsToMany('BookStack\Permissions');
2015-08-29 16:03:42 +02:00
}
}