Sha256: 138acfa06d87f77fc7bf7abfc4582d329e5709f70471cb39d1ac702dd83d504f
Contents?: true
Size: 536 Bytes
Versions: 3
Compression:
Stored size: 536 Bytes
Contents
module Naf class LogParsersController < Naf::ApiSimpleClusterAuthenticatorApplicationController def logs if naf_cookie_valid? response = params['logical_type'].constantize.new(params).logs if response.present? success = true else success = false end render json: "convertToJsonCallback(" + { success: success }.merge(response).to_json + ")" else render json: "convertToJsonCallback(" + { success: false }.to_json + ")" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
naf-2.1.10 | app/controllers/naf/log_parsers_controller.rb |
naf-2.1.9 | app/controllers/naf/log_parsers_controller.rb |
naf-2.1.8 | app/controllers/naf/log_parsers_controller.rb |