mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove commented-out code
This commit is contained in:
@@ -32,8 +32,6 @@ class Category < ActiveRecord::Base
|
||||
length: { in: 1..50 }
|
||||
validate :parent_category_validator
|
||||
|
||||
# before_validation :ensure_slug
|
||||
# before_save :ensure_slug
|
||||
validate :ensure_slug
|
||||
before_save :apply_permissions
|
||||
before_save :downcase_email
|
||||
|
||||
Reference in New Issue
Block a user