Sha256: eabd0167a126c504f0a42998ef2b76ae25167d98cdeedfd2d7df41e9ac6b65b5
Contents?: true
Size: 382 Bytes
Versions: 1
Compression:
Stored size: 382 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/kojac_front_methods.rb') class KojacBaseController < ApplicationController include KojacFrontMethods respond_to :json protect_from_forgery :only => [] protected def kojac_current_user current_user end 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.12.0 | app/controllers/kojac_base_controller.rb |