Skip to content

Commit

Permalink
[#48] Change middleware insert
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Nov 21, 2024
1 parent 9df59fe commit 6548380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rails_pg_extras/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RailsPgExtras
VERSION = "5.4.4"
VERSION = "5.4.5"
end
2 changes: 1 addition & 1 deletion lib/rails_pg_extras/web/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Engine < ::Rails::Engine
isolate_namespace RailsPgExtras::Web
config.middleware.use ActionDispatch::Flash
initializer "static assets" do |app|
app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{RailsPgExtras::Web::Engine.root}/assets")
app.middleware.insert_before(0, ::ActionDispatch::Static, "#{RailsPgExtras::Web::Engine.root}/assets")
end
end
end

0 comments on commit 6548380

Please sign in to comment.