lib/dry/swagger.rb in dry-swagger-0.6.1 vs lib/dry/swagger.rb in dry-swagger-0.6.2
- old
+ new
@@ -10,7 +10,8 @@
require 'i18n'
module Dry
module Swagger
::I18n.load_path << Dir[File.expand_path("config/locales") + "/*.yml"]
+ require 'my_gem/railtie' if defined?(Rails)
end
end