diff --git a/app/controllers/admin/box_controller.rb b/app/controllers/admin/box_controller.rb index 99b4a30..8a128b3 100644 --- a/app/controllers/admin/box_controller.rb +++ b/app/controllers/admin/box_controller.rb @@ -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?