[go: up one dir, main page]

Skip to content

Commit

Permalink
fix mod static routes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel committed Apr 7, 2016
1 parent 2d81916 commit b929780
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/core_modules/module/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function findModulesDone(meanioinstance, app, defer) {
//
function moduleActivator(defers, meaniosingleton, loadedmodule) {
if (loadedmodule) {
meaniosingleton.app.useStatic('/' + loadedmodule.name, loadedmodule.source + '/public');
var defer = Q.defer();
defers.push(defer);
loadedmodule.activate();
Expand Down

0 comments on commit b929780

Please sign in to comment.