controller change, views working and db for paper and journals

This commit is contained in:
Harry Bomrah committed 2012-05-03 21:30:12 +08:00
1 parent 1fce99c96f
commit a3a1e4b92e
11 files changed
+248 -123

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ class User
has_many :managing_apps,:class_name => "AppManager"
has_one :desktop, :autosave => true, :dependent => :destroy
has_many :other_accounts, :autosave => true, :dependent => :destroy
has_many :journals, :autosave => true, :dependent => :destroy
belongs_to :role
has_and_belongs_to_many :sub_roles
accepts_nested_attributes_for :attribute_values, :allow_destroy => true