mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
remove commented-out code
This commit is contained in:
parent
efa872e426
commit
18a00d2dd7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user