Merge branch 'ldap' of github.com:Rulingcom/orbit into ldap
This commit is contained in:
commit
d1d25a12a1
|
@ -13,8 +13,8 @@ class Bulletin
|
||||||
has_one :text, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
|
has_one :text, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
|
||||||
has_and_belongs_to_many :tags, :class_name => "AnnouncementTag"
|
has_and_belongs_to_many :tags, :class_name => "AnnouncementTag"
|
||||||
|
|
||||||
field :postdate , :type => Date
|
field :postdate , :type => DateTime
|
||||||
field :deadline , :type => Date
|
field :deadline , :type => DateTime
|
||||||
# field :url
|
# field :url
|
||||||
field :create_user_id
|
field :create_user_id
|
||||||
field :update_user_id, :class_name => "User"
|
field :update_user_id, :class_name => "User"
|
||||||
|
|
|
@ -13,8 +13,8 @@ class NewsBulletin
|
||||||
has_one :text, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
|
has_one :text, :class_name => "I18nVariable", :as => :language_value, :autosave => true, :dependent => :destroy
|
||||||
has_and_belongs_to_many :tags, :class_name => "NewsTag"
|
has_and_belongs_to_many :tags, :class_name => "NewsTag"
|
||||||
|
|
||||||
field :postdate , :type => Date
|
field :postdate , :type => DateTime
|
||||||
field :deadline , :type => Date
|
field :deadline , :type => DateTime
|
||||||
# field :url
|
# field :url
|
||||||
field :create_user_id
|
field :create_user_id
|
||||||
field :update_user_id, :class_name => "User"
|
field :update_user_id, :class_name => "User"
|
||||||
|
|
Loading…
Reference in New Issue