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

Prettify url #1

Open
bananaappletw opened this issue Oct 13, 2017 · 0 comments
Open

Prettify url #1

bananaappletw opened this issue Oct 13, 2017 · 0 comments

Comments

@bananaappletw
Copy link
Member

bananaappletw commented Oct 13, 2017

Using friendly_id gem
For example https://bamboofox.cs.nctu.edu.tw/users/6 => https://bamboofox.cs.nctu.edu.tw/users/bananaappletw

  1. Add username field into User table
  2. username is unique
  3. Using username as short url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant