lib/jjjaaa/railtie.rb in jjjaaa-0.0.1 vs lib/jjjaaa/railtie.rb in jjjaaa-1.0.0

- old
+ new

@@ -1,7 +1,7 @@ module Jjjaaa class Railtie < Rails::Railtie initializer "jjjaaa.insert_middleware" do |app| - app.config.middleware.use "Jjjaaa::Middleware" + app.config.middleware.use "Jjjaaa::Middleware" if Rails.env.development? end end end