Hi all,
I want to create a link in a view which directs me to an action in the
same controller. But the URL shouldn’t change. Does anyone know an easy
way how to implement that?
If I write something like this : <%= link_to “Hello”, { :controller =>
"current_controllerâ€}, :action => “myAction”} %>
then I need to define an rhtml file like myAction.html. But I don’t want
that. I just want that the action ‘myAction’ in current_controller is
called…
Cheers,
yussibaer