Skip to content
Snippets Groups Projects
Commit 99135901 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

double quotes must be used!

parent 7bb1c347
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ class Static
end
def self.render(template_static, about, website)
string = ApplicationController.render(
code = ApplicationController.render(
template: template_static,
layout: false,
assigns: {
......@@ -14,7 +14,7 @@ class Static
}
)
# We don't want ' in the frontmatters!
string.gsub! '&#39\;', "'"
string
code = code.gsub "&#39\;", "'"
code
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment