fix error

This commit is contained in:
rulingcom committed 2023-07-01 11:08:18 +08:00
1 parent 8bbe9a0fa5
commit c841f48477
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@ class Admin::BoxController < OrbitAdminController
SocketFile = "#{Rails.root}/tmp/box.sock"
Binary = File.expand_path("../../../../bin/box", __FILE__)
CSSFile = File.expand_path("../../../../white-on-black.css", __FILE__)
skip_before_filter :verify_authenticity_token
skip_before_action :verify_authenticity_token
def index
is_not_open = `fuser #{SocketFile}`.gsub(/\n/, '').empty?