lib/voom/presenters/dsl/components/mixins/avatar.rb in voom-presenters-0.1.13 vs lib/voom/presenters/dsl/components/mixins/avatar.rb in voom-presenters-0.2.0
- old
+ new
@@ -5,10 +5,9 @@
module Mixins
module Avatar
def avatar(avatar = nil, **attribs, &block)
return @avatar if locked?
@avatar = Components::Avatar.new(parent: self, avatar: avatar,
- context: context,
**attribs, &block)
end
end
end
end