lib/dry/swagger.rb in dry-swagger-0.7.1 vs lib/dry/swagger.rb in dry-swagger-0.7.2

- old
+ new

@@ -10,8 +10,8 @@ require 'i18n' require 'dry/swagger/railtie' if defined?(Rails) module Dry module Swagger - ::I18n.load_path << Dir[File.expand_path("config/locales") + "/*.yml"] + ::I18n.load_path << Dir[File.expand_path("config/locales") + "/*.yml"] unless defined?(Rails) end end