Archived
1
0
Fork 0

Make the application modular to have a "main" and "backend" part.

This commit is contained in:
Henrik Hautakoski 2018-10-09 22:26:01 +02:00
parent 884f721002
commit e5b0e1fcfd
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
28 changed files with 112 additions and 7 deletions

View file

@ -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/

View file

@ -56,3 +56,8 @@ router:
path:
controller: api
action: activationlink
# Backend
backend-home:
pattern: '/admin'
path: backend::user::index