lib/talkie/controller.rb in talkie-0.3.1 vs lib/talkie/controller.rb in talkie-0.3.2

- old
+ new

@@ -3,11 +3,11 @@ module Talkie module Controller extend ActiveSupport::Concern included do - delegate :allow?, to: :current_permission - helper_method :allow? + delegate :allow?, :comment_form_displayable?, to: :current_permission + helper_method :allow?, :comment_form_displayable? end protected def current_permission