From c28342d6ce38634b598c895eb5bb400b63571e03 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 14 May 2014 17:58:04 -0300 Subject: [PATCH] Fix proper use of instance_eval --- app/views/profile_editor/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/profile_editor/edit.html.erb b/app/views/profile_editor/edit.html.erb index 45a86d8..594cb2d 100644 --- a/app/views/profile_editor/edit.html.erb +++ b/app/views/profile_editor/edit.html.erb @@ -53,7 +53,7 @@ <%= @plugins.dispatch(:profile_editor_extras).map do |content| - if content.respond_to?(:call) then instance_exec(&content).html_safe else content.html_safe end + if content.respond_to?(:call) then instance_eval(&content).html_safe else content.html_safe end end.join("\n") %> -- libgit2 0.21.2