Class: Testimonials::Api::BaseController

Inherits:
Testimonials::ApplicationController show all
Defined in:
app/controllers/testimonials/api/base_controller.rb

Overview

Read-only JSON. With config.public_api the endpoints answer anyone (approved + consented records only, CORS open for static marketing sites); otherwise they answer only requests that pass authorize_admin.

Direct Known Subclasses

StatsController, TestimonialsController