UMBC-CMSC447-Spring2017-Team5 / college-JUMP

https://lassa.xen.prgmr.com/collegejump/
GNU General Public License v3.0
0 stars 0 forks source link

Make `/` the "primary" url for the index page #7

Closed alexander-bauer closed 7 years ago

alexander-bauer commented 7 years ago

Currently, url_for(front_page) gives the /index.html route, which works, but could be cleaner.

RyanErnst commented 7 years ago

reference Views.py

alexander-bauer commented 7 years ago

I think the only thing necessary to do is swap the order of the @api.route calls on the front_page function in views.py. You can verify that it works by looking at the URL referred to by the "Home" link at the top of the front page. If it ends in /, rather than /index.html, then it's good.

ichniow1 commented 7 years ago

this should be resolved unless I'm missing something.