1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

add absolute namespace for Rack::Protection

This commit is contained in:
Semjon Molokanov 2015-12-21 11:24:00 +01:00
parent abe227d7dd
commit 8bbcde65f7

View file

@ -12,7 +12,7 @@ module Sidekiq
include Sidekiq::Paginator
enable :sessions
use Rack::Protection, :use => :authenticity_token unless ENV['RACK_ENV'] == 'test'
use ::Rack::Protection, :use => :authenticity_token unless ENV['RACK_ENV'] == 'test'
set :root, File.expand_path(File.dirname(__FILE__) + "/../../web")
set :public_folder, proc { "#{root}/assets" }