Przeglądaj źródła

Removed unnecessary ||=

Andrew 7 lat temu
rodzic
commit
eb5e10ce14
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/blazer.rb

+ 1 - 1
lib/blazer.rb

@@ -68,7 +68,7 @@ module Blazer
 
   def self.user_method
     if !defined?(@user_method)
-      @user_method ||= settings["user_method"]
+      @user_method = settings["user_method"]
       if user_class
         @user_method ||= "current_#{user_class.to_s.downcase.singularize}"
       end