diff vendor/plugins/redmine_bibliography/init.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 a7dc708d48a1
children 2df99e8d191e
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/init.rb	Tue Jul 05 17:00:30 2011 +0100
+++ b/vendor/plugins/redmine_bibliography/init.rb	Thu Jul 07 18:20:31 2011 +0100
@@ -12,8 +12,8 @@
     Project.send(:include, Bibliography::ProjectPublicationsPatch)
   end
 
-  unless Project.included_modules.include? Bibliography::UserAuthorPatch
-    Project.send(:include, Bibliography::UserAuthorPatch)
+  unless User.included_modules.include? Bibliography::UserAuthorPatch
+    User.send(:include, Bibliography::UserAuthorPatch)
   end
 
 end