myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2146] branches/apace/app/models: added owner_tex


From: noreply
Subject: [myexperiment-hackers] [2146] branches/apace/app/models: added owner_text to algorithms and applications
Date: Sun, 29 Mar 2009 09:56:31 -0400 (EDT)

Revision
2146
Author
dgc
Date
2009-03-29 09:56:30 -0400 (Sun, 29 Mar 2009)

Log Message

added owner_text to algorithms and applications

Modified Paths

Diff

Modified: branches/apace/app/models/algorithm.rb (2145 => 2146)


--- branches/apace/app/models/algorithm.rb	2009-03-29 13:56:05 UTC (rev 2145)
+++ branches/apace/app/models/algorithm.rb	2009-03-29 13:56:30 UTC (rev 2146)
@@ -4,11 +4,15 @@
 # See license.txt for details.
 
 require 'acts_as_contributable'
+require 'acts_as_site_entity'
 require 'acts_as_creditable'
 require 'acts_as_attributor'
 require 'acts_as_attributable'
 
 class Algorithm < ActiveRecord::Base
+
+  acts_as_site_entity :owner_text => 'Creator'
+
   acts_as_contributable
 
   acts_as_bookmarkable

Modified: branches/apace/app/models/app.rb (2145 => 2146)


--- branches/apace/app/models/app.rb	2009-03-29 13:56:05 UTC (rev 2145)
+++ branches/apace/app/models/app.rb	2009-03-29 13:56:30 UTC (rev 2146)
@@ -3,12 +3,16 @@
 # Copyright (c) 2009 University of Manchester and the University of Southampton.
 # See license.txt for details.
 
+require 'acts_as_site_entity'
 require 'acts_as_contributable'
 require 'acts_as_creditable'
 require 'acts_as_attributor'
 require 'acts_as_attributable'
 
 class App < ActiveRecord::Base
+
+  acts_as_site_entity :owner_text => 'Creator'
+
   acts_as_contributable
 
   acts_as_bookmarkable

reply via email to

[Prev in Thread] Current Thread [Next in Thread]