module Decidim::Core::AmendableInterface

This interface represents an amendable object.

Public Instance Methods

amendments() click to toggle source
# File lib/decidim/api/interfaces/amendable_interface.rb, line 12
def amendments
  object.visible_amendments_for(context[:current_user])
end