rubocop noise: introduced and resolved rails specific cop

http://rubocop.readthedocs.io/en/latest/cops/#rails
This commit is contained in:
Mark Moser
2016-09-08 11:52:34 -05:00
parent b74249a05f
commit d54b99135e
6 changed files with 11 additions and 10 deletions

View File

@ -2,5 +2,5 @@
# TODO: needs better wrapping instead of nuking
# https://rubyplus.com/articles/3401
ActionView::Base.field_error_proc = proc do |html_tag, _instance|
html_tag.html_safe
html_tag
end