5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:46:21 +00:00

fix: siempre es un botón

https://blog.saeloun.com/2021/08/24/rails-7-button-to-rendering/
This commit is contained in:
f 2024-03-04 14:25:19 -03:00
parent a2204779af
commit 0b3f4e33fb
No known key found for this signature in database

View file

@ -5,4 +5,5 @@
- local_assigns[:class] = "btn #{local_assigns[:class]}"
-# @todo path es obligatorio
= button_to text, local_assigns[:path], **local_assigns
= button_to local_assigns[:path], **local_assigns do
= text