@accelerate wrote:
If I have a route and sub-route (eg.
/reports/:report_id
and/reports/:report_id/charts/:chart_id
) and they have both the same query parameters (eg. "start_date
" & "end_date
"), should I define the query parameters in both routes, or should I only define the params in the parent route, and the sub-route just take the query parameters from its parent route (viathis.controllerFor()
, for example)? Is there a definitive Ember way, or are both options valid with their own pros/cons?
Posts: 1
Participants: 1