fix error
This commit is contained in:
parent
8bbe9a0fa5
commit
c841f48477
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue