Commit 05430e604335ead497d64a485bc084ebf70be99d

Authored by Daniela Feitosa
1 parent c7edb005

Fixed profile_editor_extras to work with lambda

(ActionItem3152)
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 53  
54 54 <%=
55 55 @plugins.dispatch(:profile_editor_extras).map do |content|
56   - content.kind_of?(Proc) ? self.instance_eval(&content) : content
  56 + content.kind_of?(Proc) ? self.instance_exec(&content) : content
57 57 end.join("\n")
58 58 %>
59 59  
... ...