app/controllers/kojac_metal_controller.rb in kojac-0.12.0 vs app/controllers/kojac_metal_controller.rb in kojac-0.13.0
- old
+ new
@@ -8,13 +8,9 @@
def current_user
@current_user ||= env['warden'].user #User.find_by(id: session[:user])
end
- def kojac_current_user
- current_user
- end
-
public
def index
input = JSON.parse(request.body.read)
jsono,status = process_input(input['kojac'])