Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create simple refresh page link with Ruby on Rails

I am fairly new to ruby on rails, and am experimenting with the structure and functionality of RoR and want to know how to create a simple reload link using RoR instead of the static HTML way

like image 327
Stacker-flow Avatar asked Dec 05 '22 09:12

Stacker-flow


1 Answers

link_to "reload", url_for(params)
like image 135
bubblez Avatar answered Dec 26 '22 00:12

bubblez