about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaoki Kosaka <n.k@mail.yukimochi.net>2017-12-09 23:12:10 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-09 15:12:10 +0100
commit4bce376fdc7f5c5c6e2a2e33974e3712425d5874 (patch)
tree5bf57f8a18847b422232650738e0427773a30e42
parenta865b62efc0f7025f789f4413a03ccacd57db7bb (diff)
Missing require 'authorization_decorator'. (#5947)
-rw-r--r--config/initializers/rack_attack.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/rack_attack.rb b/config/initializers/rack_attack.rb
index fddcbc52c..41db76929 100644
--- a/config/initializers/rack_attack.rb
+++ b/config/initializers/rack_attack.rb
@@ -1,5 +1,7 @@
 # frozen_string_literal: true
 
+require 'doorkeeper/grape/authorization_decorator'
+
 class Rack::Attack
   class Request
     def authenticated_token