Archived
1
0
Fork 0

app/library/Services.php: load menu config from file.

This commit is contained in:
Henrik Hautakoski 2018-06-18 22:22:50 +02:00
parent a8a448331e
commit d2ef7f2c52
2 changed files with 30 additions and 34 deletions

27
app/config/menu.yml Normal file
View file

@ -0,0 +1,27 @@
menu:
home:
caption: Home
route: home-route
controller: index
action: index
create-new:
caption: 'Create new'
resource: callback
controller: callback
action: new
my-callbacks:
caption: 'List callbacks'
resource: callback
controller: callback
action: list
children:
show:
resource: callback
controller: callback
action: show
about:
caption: About
route: about-route
controller: index
action: about