From 05430e604335ead497d64a485bc084ebf70be99d Mon Sep 17 00:00:00 2001 From: Daniela Feitosa Date: Mon, 2 Jun 2014 18:51:52 +0000 Subject: [PATCH] Fixed profile_editor_extras to work with lambda --- 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 e27da93..abef586 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| - content.kind_of?(Proc) ? self.instance_eval(&content) : content + content.kind_of?(Proc) ? self.instance_exec(&content) : content end.join("\n") %> -- libgit2 0.21.2