diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:57:30 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-19 14:57:30 +0100 |
commit | e2b846f630cae00096a42dffeff759d0ef8e1c3e (patch) | |
tree | 52ed093ba2fa1fe1360efd94f60d3b4c29c8d9fc /config/application.rb | |
parent | 5d72b922715e04f620026598624f6898e0f267c3 (diff) |
Adding letter opener for development and Rack::Attack for future rate limiting implementations
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index e7634854a..9d8d6022d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -33,5 +33,7 @@ module Mastodon Doorkeeper::AuthorizedApplicationsController.layout 'dashboard' Doorkeeper::AuthorizationsController.layout 'auth' end + + config.middleware.use Rack::Attack end end |