Module: Decidim::Core::AmendableInterface

Includes:
Api::Types::BaseInterface
Defined in:
lib/decidim/api/interfaces/amendable_interface.rb

Overview

This interface represents an amendable object.

Instance Method Summary collapse

Instance Method Details

#amendmentsObject



12
13
14
# File 'lib/decidim/api/interfaces/amendable_interface.rb', line 12

def amendments
  object.visible_amendments_for(context[:current_user])
end