Skip to content

Commit

Permalink
Intermediate solution for integrating web-console without a failure i…
Browse files Browse the repository at this point in the history
…n the code. Needs more thought for a general solution. IMHO sufficient for the time being.
  • Loading branch information
Marc Grimme committed Jul 4, 2016
1 parent dc69286 commit 2ca49ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logstasher/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Railtie < Rails::Railtie
end
end

initializer 'logstasher.insert_middleware', after: :load_config_initializers do |app|
initializer 'logstasher.insert_middleware', after: 'web_console.acceptable_content_types' do |app|
LogStasher.modify_middleware app
end
end
Expand Down

0 comments on commit 2ca49ea

Please sign in to comment.