lundi 9 mai 2016

Redirect URL without hash - Ember.JS

I'm working on a Ember.JS app using

App.Router.reopen({
  location: 'hash'
});

Which means that all my URLs are something like these:

The issue:

In a very specific case, the user will try to access my application using:

My question:

Is it possible to redirect this user from:

to

using the router.js file or a similar approach such as use .htdocs in a PHP app to redirect URLs?




Aucun commentaire:

Enregistrer un commentaire