app/library/Services.php: load menu config from file.
This commit is contained in:
parent
a8a448331e
commit
d2ef7f2c52
2 changed files with 30 additions and 34 deletions
27
app/config/menu.yml
Normal file
27
app/config/menu.yml
Normal 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
|
||||
Reference in a new issue