Hyperlinks

Just wondering if it’s possible to handle hyperlinks in a controller.

I want to pass some variables from hyperlinks instead of using forms.

Thanks,
Joe

Controllers receive requests and return responses.

What exactly do you mean by "handle hyperlinks"?

well, basically click on a link and have it do something on a controller. I don’t want to pass these values to the controller using forms, I’d like to know if it’s possible to using hyperlinks.

Hi Joe, I think you are asking about the query string, look here

The rails router can be used with HTTP GET methods to match arguments in the request URL, they then will appear in the params controller variable and you can use them.

well, basically click on a link and have it do something on a controller.

Clicking a link causes the browser to send a request to a controller,
so that's covered...

don't want to pass these values to the controller using forms, I'd like to
know if it's possible to using hyperlinks.

What values?

Maybe this will help: https://en.wikipedia.org/wiki/Query_string

If not, please give a concrete example.