I have developed a rails application but there is some problem like as I
used one more words URL with capital letters now I want to use ‘-’
instead of capital letters.
For example, I used http://localhost:3000/viewDetails now I want to use
http://localhost:3000/view-details this type.
Anyone can help me, please how can I do this?