diff --git a/vendor/assets/javascripts/paloma/engine.js b/vendor/assets/javascripts/paloma/engine.js index e808150..44a160b 100644 --- a/vendor/assets/javascripts/paloma/engine.js +++ b/vendor/assets/javascripts/paloma/engine.js @@ -29,18 +29,22 @@ var Controller = this.factory.get(controllerName); if (!Controller){ - return console.warn('Paloma: undefined controller -> ' + controllerName); + console.warn('Paloma: undefined controller -> ' + controllerName); + continue; } var controller = new Controller(request.params); if (!controller[action]){ - return console.warn('Paloma: undefined action <' + action + - '> for <' + controllerName + '> controller'); + console.warn('Paloma: undefined action <' + action + + '> for <' + controllerName + '> controller'); + continue; } controller[action](); } + + this.restart(); }; @@ -58,4 +62,4 @@ Paloma.Engine = Engine; -})(window.Paloma); \ No newline at end of file +})(window.Paloma);