Colin Law wrote in post #1146799:
Just set the action on each button to the url that you want invoked,
so something like edit_article_path( article_ id ) where article_id is
the id of the article on that row.
Get it working just using link_to first, then make the link look like
a button if
On 22 May 2014 16:00, Fab Forestier li...@ruby-forum.com wrote:
Colin Law wrote in post #1146799:
Just set the action on each button to the url that you want invoked,
so something like edit_article_path( article_ id ) where article_id is
the id of the article on that row.
Get it working
2 matches
Mail list logo