module Decidim::Followable
This concern contains the logic related to followable resources.
Public Instance Methods
followers()
click to toggle source
Calls superclass method
# File lib/decidim/followable.rb, line 18 def followers if respond_to?(:participatory_space) && participatory_space.present? && participatory_space.respond_to?(:followers) super.or(participatory_space.followers).distinct else super end end