doemal or other api token added

This commit is contained in:
Yan
2018-04-11 17:20:17 +06:30
parent 53388248e9
commit b730c78afe
8 changed files with 26 additions and 37 deletions

View File

@@ -32,7 +32,7 @@ class Api::ApiController < ActionController::API
ActiveRecord::Base.establish_connection(website_connection(@license))
# authenticate_session_token
# logger.info "Connecting to - " + @license.subdomain + " - "+ @license.dbhost + "@" + @license.dbschema
else8
else
# reconnect_default_db
logger.info 'License is nil'
# redirect_to root_url(:host => request.domain) + "store_error"