Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettier URLs #34

Open
haydnba opened this issue Apr 7, 2018 · 0 comments
Open

Prettier URLs #34

haydnba opened this issue Apr 7, 2018 · 0 comments

Comments

@haydnba
Copy link
Contributor

haydnba commented Apr 7, 2018

urls in the browser should show the request url but not the file name ('/create-user' not 'createuser.html' e.g.)...

we can do this by sorting out the relations between filenames and request paths etc. and perhaps keeping the display files in a specific folder - views - to be handled a specific way by the router: views are different from static files / assets...

the router would need to use regex to call the proper html file from the views folder while allowing the request url displayed in the browser to remain without the file extension...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant