diff --git a/packages/blueprint/lib/RouterBuilder.js b/packages/blueprint/lib/RouterBuilder.js
index <HASH>..<HASH> 100644
--- a/packages/blueprint/lib/RouterBuilder.js
+++ b/packages/blueprint/lib/RouterBuilder.js
@@ -122,7 +122,7 @@ RouterBuilder.prototype.addSpecification = function (spec, currPath) {
       var result = controller.invoke ();
       var resultType = typeof result;
 
-      if (resultType === 'function') {
+      if (resultType === 'function' || Array.isArray (result)) {
         // Push the function onto the middleware stack.
         middleware.push (result);
       }
Added support for controller method returning arrays