comfy / active_link_to

Rails view helper to manage "active" state of a link
MIT License
844 stars 84 forks source link

Added defaults config based on pr#4 #43

Closed TMaYaD closed 7 years ago

TMaYaD commented 8 years ago

This is based on #4. The workaround there is not working anymore. That's the problem with the helpers. They tend to be brittle.

GBH commented 7 years ago

Doesn't make much sense to have defaults just for the wrap tag option. For that I'd suggest making a view helper that wraps active_link_to, or even override it and pass that option via super()