Sha256: 19f68b3fc9cfde5f07bf40dc62767ad65debf5aca99b3edfe2990f3a2610a86d
Contents?: true
Size: 384 Bytes
Versions: 16
Compression:
Stored size: 384 Bytes
Contents
require_dependency "phcmembers/application_controller" module Phcmembers class Api::ListapiController < ApplicationController # Only Responds to API Requests respond_to :json # Directory Listing API def index category = Directory::Category.find(params[:category_id]) @directory_catlists = category.catlists.scoped_to(current_account) end end end
Version data entries
16 entries across 16 versions & 1 rubygems