diff --git a/addon/helpers/href-to.js b/addon/helpers/href-to.js index aa0d354..f824905 100644 --- a/addon/helpers/href-to.js +++ b/addon/helpers/href-to.js @@ -16,7 +16,7 @@ function getParamsForGenerateURL(params) { } else { queryParams = {}; } - let models = params; // the remainder are the models + let models = params.flat(); // the remainder are the models return [targetRouteName, models, queryParams]; }