I have bellow url request type, that contain # character
http://localhost:3000#user-name
I want to match it to HomeController#show_user, how to write the routes?
I have bellow url request type, that contain # character
http://localhost:3000#user-name
I want to match it to HomeController#show_user, how to write the routes?
From Uniform Resource Locators (URL)
You can't use
#symbol in your url because it's a reserved character.You might have seen the usage of symbol like this
But this symbol used here as fragment delimeter.