|
|
@@ -20,9 +20,9 @@ class ApplicationController < ActionController::Base |
|
|
# TODO |
|
|
# TODO |
|
|
# check sql query time |
|
|
# check sql query time |
|
|
before_action do |
|
|
before_action do |
|
|
if request.subdomain === 'testforgeplus' || request.subdomain === "profiler" |
|
|
|
|
|
Rack::MiniProfiler.authorize_request |
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
# if request.subdomain === 'testforgeplus' || request.subdomain === "profiler" |
|
|
|
|
|
# Rack::MiniProfiler.authorize_request |
|
|
|
|
|
# end |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
DCODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z) |
|
|
DCODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z) |
|
|
|