Explorar o código

Removed unnecessary ||=

Andrew %!s(int64=7) %!d(string=hai) anos
pai
achega
eb5e10ce14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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