sticky topics

This commit is contained in:
Andreas Stephanides
2015-02-23 09:19:30 +01:00
parent 81e97837de
commit a0427336c8
4 changed files with 13 additions and 1 deletions

View File

@@ -13,7 +13,7 @@
require 'uri'
class Thema < ActiveRecord::Base
include Rails.application.routes.url_helpers
attr_accessible :text, :title, :themengruppe_id,:isdraft, :hidelink, :hideattachment
attr_accessible :text, :title, :themengruppe_id,:isdraft, :hidelink, :hideattachment, :sticky_startpage,:sticky_intern
has_many :fragen
has_many :attachments
belongs_to :themengruppe, :foreign_key => "themengruppe_id"