Adding Button to View


/ Published in: Ruby
Save to your folder(s)

Adds a button in view, which triggers a method.

"Empty cart" is the button name
empty_cart is the method name

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.