jeudi 25 juin 2015

Removing appended forward slash from URL in Ember.js when using link-to

Everyone! I am new to ember and am liking it so far but I am hoping someone can help me with the URLs in my site.

I can load a template in ember using a url that looks something like this:

www.test.com/#home

and it will load up the home template, no problem.

But if I use a link-to home from inside the site, the URL will look like this:

www.test.com/#/home

I want the links to always look like the first example. Any ideas?




Aucun commentaire:

Enregistrer un commentaire