diff --git a/lib/simple_form/wrappers/leaf.rb b/lib/simple_form/wrappers/leaf.rb index b2ecfbe6..3fc9fac0 100644 --- a/lib/simple_form/wrappers/leaf.rb +++ b/lib/simple_form/wrappers/leaf.rb @@ -21,7 +21,7 @@ module SimpleForm end def find(name) - return self if @namespace == name + self if @namespace == name end end end