Skip to content

Commit

Permalink
Merge 2082861 into ce30972
Browse files Browse the repository at this point in the history
  • Loading branch information
tabio committed Jul 28, 2018
2 parents ce30972 + 2082861 commit e9bbae9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -31,6 +31,14 @@ run MyApp
In `config/application.rb`

```ruby
# rails 5.x
module MyApp
class Application < Rails::Application
config.middleware.insert_after ActionDispatch::Flash, Rack::SecureUpload::Middleware, :avast
end
end

# other
module MyApp
class Application < Rails::Application
config.middleware.insert_before ActionDispatch::ParamsParser, Rack::SecureUpload::Middleware, :avast
Expand Down

0 comments on commit e9bbae9

Please sign in to comment.