vendredi 2 octobre 2015

How can I generate a route after doing a calculation in Rails 4

Is there any way to generate a URL or new route after doing some calculations in Rails 4?

To be more clear let's check this pic:

enter image description here

After clicking on "calculate" it shows some results but the route is still the same (localhost:8080/en). I would like to generate another route, let's say (localhost:8080/en/outputs/de32r3ff3) and when I send this route or link to another person, he can see the results just by putting this URL in his browser.

Imagine that localhost:8080 is mydomain.com.

I checked this but it is not clear for me.

Any idea how to do it?

Aucun commentaire:

Enregistrer un commentaire