Make the application modular to have a "main" and "backend" part.
This commit is contained in:
parent
884f721002
commit
e5b0e1fcfd
28 changed files with 112 additions and 7 deletions
|
|
@ -1,9 +1,10 @@
|
|||
|
||||
application:
|
||||
modulesDir : ../app/modules/
|
||||
controllersDir : ../app/controllers/
|
||||
modelsDir : ../app/models/
|
||||
migrationsDir : ../app/migrations/
|
||||
viewsDir : ../app/views/
|
||||
viewsDir : ../app/views/_common/
|
||||
templateDir : ../app/templates/
|
||||
listenersDir : ../app/listeners/
|
||||
libraryDir : ../app/library/
|
||||
|
|
|
|||
|
|
@ -56,3 +56,8 @@ router:
|
|||
path:
|
||||
controller: api
|
||||
action: activationlink
|
||||
|
||||
# Backend
|
||||
backend-home:
|
||||
pattern: '/admin'
|
||||
path: backend::user::index
|
||||
|
|
|
|||
Reference in a new issue