mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-26 18:27:12 +01:00
* [WIP] Add access option to Menus Thanks @joelslamospersson for idea * Add notice about Guest* * Add access column into schema.sql * Remove spectrum.js from project Was used in Menus, replaced by html "color" input * Block access to page if not required Access by Menus
15 lines
293 B
PHP
15 lines
293 B
PHP
<?php
|
|
|
|
namespace MyAAC\Models;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Menu extends Model {
|
|
|
|
protected $table = TABLE_PREFIX . 'menu';
|
|
|
|
public $timestamps = false;
|
|
|
|
protected $fillable = ['template', 'name', 'link', 'access', 'blank', 'color', 'category', 'ordering', 'enabled'];
|
|
|
|
}
|