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:
parent
abe227d7dd
commit
8bbcde65f7
1 changed files with 1 additions and 1 deletions
|
@ -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" }
|
||||
|
|
Loading…
Add table
Reference in a new issue