app/controllers/kojac_base_controller.rb in kojac-0.12.0 vs app/controllers/kojac_base_controller.rb in kojac-0.13.0
- old
+ new
@@ -1,17 +1,10 @@
require File.expand_path(File.dirname(__FILE__) + '/kojac_front_methods.rb')
-class KojacBaseController < ApplicationController
+class KojacBaseController < ActionController::Base
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])