make labels editable in threads

This commit is contained in:
jomo
2015-01-17 18:28:38 +01:00
parent 5f00fc87a3
commit a6c062bde7
8 changed files with 60 additions and 20 deletions
-1
View File
@@ -1,7 +1,6 @@
class Label < ActiveRecord::Base
validates_presence_of :name
validate :color_valid
belongs_to :role
has_and_belongs_to_many :forums
has_many :forumthreads