Hi All,
Am having a lot of trouble trying to solve a very simple problem.
I have a button on my form which when clicked needs to do a quick calculation then returns back to the same page to show the result.
VIEW.
<%=button_to "How much could I potentially borrow?", :action => "newmortgagecalc" %>
CONTROLLER
def newmortgagecalc * some calculations here * render end
What do I need to render in the controller method to get back to the same page?
Thanks
Richie.