[fix] app actions needs domains and users data

This commit is contained in:
Laurent Peuch 2018-07-03 01:04:07 +02:00
parent 3c5a23d7da
commit 1dfd6954b8

View file

@ -28,6 +28,8 @@
app.before(/domains\/add/, prefetchDomains);
app.before(/apps\/install\//, prefetchDomains);
app.before(/apps\/install\//, prefetchUsers);
app.before(/apps\/\w+\/actions/, prefetchUsers);
app.before(/apps\/\w+\/actions/, prefetchDomains);
app.before({except: {path: ['#/logout', '#/login', '#/postinstall', '#/postinstall/domain', '#/postinstall/password']}}, function (req) {