Last active
May 9, 2018 14:40
-
-
Save scaint/9913986 to your computer and use it in GitHub Desktop.
Removing "utf8=✓" from url in Rails. Put this file to app/helpers directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module FormTagHelper | |
# see http://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-utf8_enforcer_tag | |
def utf8_enforcer_tag | |
''.html_safe | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment