You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Solidus 2.6, you may encounter deprecation warnings. One of these could be about the button_link_to deprecated in favor of button_to or link_to (ref). To update all occurrences, you can use this simple regex:
Search for <%= button_link_to (.+) %>.
Replace with <%= link_to $1, class: 'btn btn-primary' %> or <%= button_to $1, class: 'btn btn-primary' %> depending on which one you need.
erb-lint seems like a different project all together to rubocop
Although it does have the same working, writing the cops is quite different from rubocop and it would take some time to understand and get it working alongside rubocop-solidus
After upgrading to Solidus 2.6, you may encounter deprecation warnings. One of these could be about the button_link_to deprecated in favor of button_to or link_to (ref). To update all occurrences, you can use this simple regex:
Search for <%= button_link_to (.+) %>.
Replace with <%= link_to $1, class: 'btn btn-primary' %> or <%= button_to $1, class: 'btn btn-primary' %> depending on which one you need.
Minimum solidus version: from the beginning
Depending on #37
The text was updated successfully, but these errors were encountered: