projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c39f2
)
add boilerplate for Project resource
author
Tom Clegg <tom@clinicalfuture.com>
Wed, 16 Jan 2013 22:43:01 +0000
(14:43 -0800)
committer
Tom Clegg <tom@clinicalfuture.com>
Wed, 16 Jan 2013 22:43:01 +0000
(14:43 -0800)
app/models/project.rb
patch
|
blob
|
history
diff --git
a/app/models/project.rb
b/app/models/project.rb
index 5bc7957d543fe97a3cb2402126f17a5310b7727e..d3b165b14102c0c8774d06a5d1515c598c835a4a 100644
(file)
--- a/
app/models/project.rb
+++ b/
app/models/project.rb
@@
-1,2
+1,10
@@
class Project < ActiveRecord::Base
+ include AssignUuid
+ include KindAndEtag
+ include CommonApiTemplate
+
+ api_accessible :superuser, :extend => :common do |t|
+ t.add :name
+ t.add :description
+ end
end