Fix `link_to` href warnings if not at beginning of string #940

Merged
merged 2 commits into from Sep 29, 2016

Projects

None yet

1 participant

@presidentbeef
Owner

There was already code to do this, but it did not work if the first thing in the interpolated string was an interpolated value, like "#{x}#{params[:y]}"

@presidentbeef presidentbeef merged commit 322c2bf into master Sep 29, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@presidentbeef presidentbeef deleted the fix_link_to_href_interp_check branch Sep 29, 2016
@presidentbeef presidentbeef locked and limited conversation to collaborators Feb 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.