fix error
This commit is contained in:
1 parent
8bbe9a0fa5
commit
c841f48477
1 file changed
+1
-1
@@ -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?
|
||||
|
||||
Reference in new issue
Block a user