Fix for Issue 921 with provides array in routes

Fix for #921 where a routes block was getting called with more arguments if a :provides array was passed.