Sha256: f0acb5c81fae001baadb2fddd0ff9f54e6829589ebcbebf782798c107732fa83
Contents?: true
Size: 681 Bytes
Versions: 64
Compression:
Stored size: 681 Bytes
Contents
require_dependency "avo/application_controller" module Avo class DebugController < ApplicationController def index end def report end def refresh_license license = Licensing::LicenseManager.refresh_license request if license.valid? flash[:notice] = "avohq.io responded: \"#{license.id.humanize} license is valid\"." else if license.response['reason'].present? flash[:error] = "avohq.io responded: \"#{license.response['reason']}\"." else flash[:error] = license.response['error'] end end redirect_back fallback_location: avo.avo_private_debug_index_path end end end
Version data entries
64 entries across 64 versions & 1 rubygems