lib/grape.rb in grape-1.5.3 vs lib/grape.rb in grape-1.6.0
- old
+ new
@@ -20,10 +20,10 @@
require 'active_support/core_ext/hash/conversions'
require 'active_support/dependencies/autoload'
require 'active_support/notifications'
require 'i18n'
-I18n.load_path << File.expand_path('../grape/locale/en.yml', __FILE__)
+I18n.load_path << File.expand_path('grape/locale/en.yml', __dir__)
module Grape
extend ::ActiveSupport::Autoload
eager_autoload do