lundi 16 mai 2016

EmberJS - Redirect parent path to its nested child path

The current dashboard url is 'reporting/questionnaire.' Users will often times forget to type the full ‘/reporting/questionnaire' and end up searching by just ‘/reporting'.

This is currently set up as a nested route.

Router.map(function() {
  this.route('reporting', function() {
    this.route('questionnaires');

Anyone familiar with how to redirect the parent path ‘/reporting’ to its nested child ‘reporting/questionnaire’?




Aucun commentaire:

Enregistrer un commentaire