Class: Spree::Api::V2::Organizer::BaseController
- Inherits:
-
BaseController
- Object
- BaseController
- Spree::Api::V2::Organizer::BaseController
- Includes:
- CollectionOptionsHelpers
- Defined in:
- app/controllers/spree/api/v2/organizer/base_controller.rb
Direct Known Subclasses
ImagesController, InviteGuestsController, InvitesController, S3SignedUrlsController, TicketImagesController, TicketsController
Instance Method Summary collapse
Instance Method Details
#render_serialized_payload(status = 200) ⇒ Object
8 9 10 |
# File 'app/controllers/spree/api/v2/organizer/base_controller.rb', line 8 def render_serialized_payload(status = 200) render json: yield, status: status, content_type: content_type end |