mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-29 15:35:23 -04:00
remove commented-out code
This commit is contained in:
parent
efa872e426
commit
18a00d2dd7
1 changed files with 0 additions and 2 deletions
|
@ -32,8 +32,6 @@ class Category < ActiveRecord::Base
|
||||||
length: { in: 1..50 }
|
length: { in: 1..50 }
|
||||||
validate :parent_category_validator
|
validate :parent_category_validator
|
||||||
|
|
||||||
# before_validation :ensure_slug
|
|
||||||
# before_save :ensure_slug
|
|
||||||
validate :ensure_slug
|
validate :ensure_slug
|
||||||
before_save :apply_permissions
|
before_save :apply_permissions
|
||||||
before_save :downcase_email
|
before_save :downcase_email
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue