Sha256: bac123c1f067c33bc3aa42324db569a420a52f1dbfb6d1afeb647957f918ccc0

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/kojac_front_methods.rb')

class KojacBaseController < ActionController::Base

	include KojacFrontMethods
	respond_to :json

	public

	def receive
		jsono,status = process_input(params[:kojac])
		render json: jsono, status: status
	end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kojac-0.13.0 app/controllers/kojac_base_controller.rb