Sha256: 7ea960bafdc94933b8cd84ea1f5bbb74e146f38421ac1051c5b44bccaef40a9b

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

require_dependency "phcscriptcdnpro/application_controller"

module Phcscriptcdnpro
	class Api::CdnlistsController < ApplicationController

		# Only Responds to API Requests
		respond_to :json

		# Directory Category API
		def index
			@scriptcdn_mains = Scriptcdn::Main.all
		end

	end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcscriptcdnpro-1.9.10 app/controllers/phcscriptcdnpro/api/cdnlists_controller.rb
phcscriptcdnpro-1.9.8 app/controllers/phcscriptcdnpro/api/cdnlists_controller.rb
phcscriptcdnpro-1.9.7 app/controllers/phcscriptcdnpro/api/cdnlists_controller.rb