lib/rack/dev-mark.rb in rack-dev-mark-0.6.4 vs lib/rack/dev-mark.rb in rack-dev-mark-0.7.0
- old
+ new
@@ -35,9 +35,14 @@
def rack_dev_mark_env
s = ENV['RACK_DEV_MARK_ENV']
s.to_s == '' ? nil : s
end
end
+
+ if defined?(::I18n)
+ require 'rack/dev-mark/i18n_helper'
+ include I18nHelper
+ end
end
end
require 'rack/dev-mark/railtie' if defined?(Rails)