Commit c28342d6ce38634b598c895eb5bb400b63571e03
1 parent
0ce8551c
Exists in
master
and in
29 other branches
Fix proper use of instance_eval
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/profile_editor/edit.html.erb
@@ -53,7 +53,7 @@ | @@ -53,7 +53,7 @@ | ||
53 | 53 | ||
54 | <%= | 54 | <%= |
55 | @plugins.dispatch(:profile_editor_extras).map do |content| | 55 | @plugins.dispatch(:profile_editor_extras).map do |content| |
56 | - if content.respond_to?(:call) then instance_exec(&content).html_safe else content.html_safe end | 56 | + if content.respond_to?(:call) then instance_eval(&content).html_safe else content.html_safe end |
57 | end.join("\n") | 57 | end.join("\n") |
58 | %> | 58 | %> |
59 | 59 |