diff vendor/plugins/redmine_bibliography/app/models/authorship.rb @ 483:cc267eb99115 feature_36

removed unnecessary rjs file; extending the User Model to handle Users with no Author.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 07 Jul 2011 18:20:31 +0100
parents dd242ea99fd3
children b24091590b63
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/models/authorship.rb	Tue Jul 05 17:00:30 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/app/models/authorship.rb	Thu Jul 07 18:20:31 2011 +0100
@@ -2,6 +2,9 @@
   belongs_to :author
   belongs_to :publication
   
+  accepts_nested_attributes_for :author
+  accepts_nested_attributes_for :publication
+  
  
   # setter and getter for virtual attribute :author search
   def author_search