themengruppe priorty feld

This commit is contained in:
Andreas Stephanides
2014-02-08 16:40:34 +01:00
parent 20d97d1b4d
commit 502cf3d134
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
class Themengruppe < ActiveRecord::Base
WORD_COUNT = 50
attr_accessible :text, :title, :picture
attr_accessible :text, :title, :picture,:priority
has_many :themen, class_name: 'Thema'
has_many :fragen, through: :themen
mount_uploader :picture, PictureUploader