Class: Alchemy::JsonApi::Admin::PagesController

Inherits:
PagesController show all
Defined in:
app/controllers/alchemy/json_api/admin/pages_controller.rb

Direct Known Subclasses

LayoutPagesController

Instance Method Summary collapse

Methods inherited from PagesController

#index

Instance Method Details

#showObject


8
9
10
# File 'app/controllers/alchemy/json_api/admin/pages_controller.rb', line 8

def show
  render jsonapi: Alchemy::JsonApi::Page.new(@page, page_version: :draft_version)
end