vendredi 23 janvier 2015

how do you change base/root url in ember cli from default root '/' to '/home'?

I have generated a route 'home' and I would like to change my base url '/' to be 'home' i have tried adding this line of code to the router.js


App.Router.reopen({ rootURL: '/blog/' });


I have also tried setting my base-url in config/environment.js to '/home/'





Aucun commentaire:

Enregistrer un commentaire