lib/talkie/renderer_helper.rb in talkie-0.1.0 vs lib/talkie/renderer_helper.rb in talkie-0.1.1
- old
+ new
@@ -8,15 +8,17 @@
DELEGATED_METHODS_TO_COMMENTS_RENDERER = %i[commentable
root_comments
nested_enabled?
display_user_handler?
- display_user_avatar?].freeze
+ display_user_avatar?
+ deletable?].freeze
HELPER_METHODS = %i[talkie_on
nested_enabled?
display_user_handler?
display_user_avatar?
+ deletable?
root_comments
commentable].freeze
included do
delegate *DELEGATED_METHODS_TO_COMMENTS_RENDERER, to: :comments_renderer