about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-31 22:19:13 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-31 15:19:13 +0200
commit3e7a541e09ac875be21bea3cf8a444e3228d2a4c (patch)
tree616d749117905fd68bb35762a208382b0cc1fa20 /app/lib
parent93aafa85496b5e1ae735e174157c3a7e1744ede2 (diff)
Change RuboCop rules to loose (#4464)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/emoji.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/emoji.rb b/app/lib/emoji.rb
index 6de70e9b4..45b7f53de 100644
--- a/app/lib/emoji.rb
+++ b/app/lib/emoji.rb
@@ -6,7 +6,7 @@ class Emoji
   include Singleton
 
   def initialize
-    data = Oj.load(File.open(File.join(Rails.root, 'lib', 'assets', 'emoji.json')))
+    data = Oj.load(File.open(Rails.root.join('lib', 'assets', 'emoji.json')))
 
     @map = {}