Skip to content

Commit

Permalink
middleware name consistency for zeitwerk
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Sep 16, 2024
1 parent 7b30fc7 commit f789c72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ class Application < Rails::Application

config.assets.precompile = ["manifest.js"]

config.middleware.insert_after Rack::Runtime, Middleware::ReplaceSemicolonWithAmpersand
config.middleware.insert_after Rack::Runtime, Middleware::SemicolonHandling
end
end
2 changes: 1 addition & 1 deletion lib/middleware/semicolon_handling.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Middleware
class ReplaceSemicolonWithAmpersand
class SemicolonHandling
def initialize(app)
@app = app
end
Expand Down

0 comments on commit f789c72

Please sign in to comment.