Sha256: fa66327a20e2743e90803554e1ee583183ec0a62021ad1f041a5e4c8763677de
Contents?: true
Size: 168 Bytes
Versions: 6
Compression:
Stored size: 168 Bytes
Contents
class Api::V1::PostController < Api::ApiController def index post_type = current_site.post_types.find_by_slug('post') render json: post_type.posts end end
Version data entries
6 entries across 6 versions & 1 rubygems