Commit b7249c31bbb4e84fff2d9bb78535cf06b5b62df5
1 parent
462c0b89
Exists in
master
and in
29 other branches
ActionItem6: enterprise controller update
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@180 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/models/enterprise.rb
@@ -6,6 +6,7 @@ class Enterprise < ActiveRecord::Base | @@ -6,6 +6,7 @@ class Enterprise < ActiveRecord::Base | ||
6 | end | 6 | end |
7 | 7 | ||
8 | has_one :enterprise_profile, :class_name => 'Profile', :as => :profile_owner | 8 | has_one :enterprise_profile, :class_name => 'Profile', :as => :profile_owner |
9 | + has_many :users | ||
9 | 10 | ||
10 | validates_presence_of :name | 11 | validates_presence_of :name |
11 | end | 12 | end |