Browse Source

Removed unnecessary ||=

Andrew 6 years ago
parent
commit
eb5e10ce14
1 changed files with 1 additions and 1 deletions
  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