Button_to

How can i specify the full url of the page i want to access using a
button?

ex:
http://localhost:3000/users/1

I can use link_to as: link_to ‘Home’, “http://localhost:3000/
users/1”
But i want to use a button in my form instead.

Thanks,
Pratik

Did the trick!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs