Class: Silas::Api::BaseController

Inherits:
ActionController::API
  • Object
show all
Defined in:
app/controllers/silas/api/base_controller.rb

Overview

JSON API base: ActionController::API (no CSRF, no layouts, no cookies), deny-by-default auth with the inbox's contract — the host lambda DENIES by rendering (or head-ing) and PASSES by not rendering.