Prechádzať zdrojové kódy

add admin user depart records

abiao 4 rokov pred
rodič
commit
cb1e03b659
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/models/product.rb

+ 1 - 1
app/models/product.rb

@@ -71,7 +71,7 @@ class Product < ActiveRecord::Base
             end
         end
     end
-    get_size_enum
+    self.get_size_enum
     IMG_STORE_PATH = "product"
 
     def size_name