Created
June 23, 2022 14:51
-
-
Save aaripurna/8e513b32a68ba7ba633184f59f220277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inside config/application.rb | |
require "path_to_rack_app/or/gem_name" | |
module ExampleWeb | |
class Application < Rails::Application | |
# ... other code | |
config.middleware.use OurNewMiddleware | |
# ... other code | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment