Class: Spree::Api::V2::Tenant::VotingCreditsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/api/v2/tenant/voting_credits_controller.rb

Instance Method Summary collapse

Methods inherited from BaseController

#current_vendor, #render_serialized_payload, #require_tenant, #scope

Instance Method Details

#indexObject



8
9
10
11
12
# File 'app/controllers/spree/api/v2/tenant/voting_credits_controller.rb', line 8

def index
  render_serialized_payload do
    serialize_resource(voting_credit)
  end
end