comfy / active_link_to

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

fix error raised by is_active_link on invalid URL #40

Closed aufi closed 8 years ago

aufi commented 8 years ago

Fixing error raised on invalid URL (e.g. "javascript:;")

TypeError - no implicit conversion of nil into String: active_link_to (1.0.3) lib/active_link_to/active_link_to.rb:81:in `is_active_link?'