spec/dummy_engine/config/initializers/apartment.rb in apartment-1.2.0 vs spec/dummy_engine/config/initializers/apartment.rb in apartment-2.0.0

- old
+ new

@@ -40,12 +40,12 @@ end ## # Elevator Configuration -# Rails.application.config.middleware.use 'Apartment::Elevators::Generic', lambda { |request| +# Rails.application.config.middleware.use Apartment::Elevators::Generic, lambda { |request| # # TODO: supply generic implementation # } -# Rails.application.config.middleware.use 'Apartment::Elevators::Domain' +# Rails.application.config.middleware.use Apartment::Elevators::Domain -Rails.application.config.middleware.use 'Apartment::Elevators::Subdomain' +Rails.application.config.middleware.use Apartment::Elevators::Subdomain