summaryrefslogtreecommitdiffstats
path: root/lib/plugins/gravatar/init.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/gravatar/init.rb')
-rw-r--r--lib/plugins/gravatar/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/gravatar/init.rb b/lib/plugins/gravatar/init.rb
index aafad7613..a312000f5 100644
--- a/lib/plugins/gravatar/init.rb
+++ b/lib/plugins/gravatar/init.rb
@@ -1,4 +1,4 @@
# frozen_string_literal: true
-require File.dirname(__FILE__) + '/lib/gravatar'
+require_relative 'lib/gravatar'
ActionView::Base.send :include, GravatarHelper::PublicMethods