Skip to content

Commit 66f2166

Browse files
authored
Merge pull request #17 from jedi-ballono/master
Removal of string usage on middleware call
2 parents 2288c4f + dfd123a commit 66f2166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stackify/engine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Engine < ::Rails::Engine
1010
end
1111

1212
initializer 'stackify.middleware', group: :all do |app|
13-
app.config.app_middleware.use 'Stackify::ErrorsCatcher' do |env|
13+
app.config.app_middleware.use Stackify::ErrorsCatcher do |env|
1414
Stackify::EnvDetails.instance.request_details = env
1515
end
1616
end

0 commit comments

Comments
 (0)