Merge branch 'master' of github.com:fetsite/fetsite

Conflicts:
	app/views/neuigkeiten/_form.html.erb
This commit is contained in:
Andreas Stephanides
2015-05-28 20:16:33 +02:00
4 changed files with 12 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
#
class Neuigkeit < ActiveRecord::Base
attr_accessible :datum, :text, :title, :rubrik_id, :author_id,:picture, :calentries_attributes
attr_accessible :datum, :text, :title, :rubrik_id, :author_id,:picture, :calentries_attributes, :flag_important
belongs_to :author, :class_name =>'User'
belongs_to :rubrik, :class_name =>'Rubrik', :foreign_key => "rubrik_id"
has_one :calendar, through: :rubrik