Commit 19039ecf5f512d50c54cb27a1d7bc88697820838

Authored by Arthur Esposte
1 parent 5d182131

Add attr_accessible to User and Domain attributes

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
app/models/domain.rb
... ... @@ -2,7 +2,7 @@ require 'noosfero/multi_tenancy'
2 2  
3 3 class Domain < ActiveRecord::Base
4 4  
5   - attr_accessible :name, :owner
  5 + attr_accessible :name, :owner, :is_default
6 6  
7 7 # relationships
8 8 ###############
... ...
app/models/user.rb
... ... @@ -5,7 +5,7 @@ require &#39;user_activation_job&#39;
5 5 # Rails generator.
6 6 class User < ActiveRecord::Base
7 7  
8   - attr_accessible :login, :email, :password, :password_confirmation
  8 + attr_accessible :login, :email, :password, :password_confirmation, :activated_at
9 9  
10 10 N_('Password')
11 11 N_('Password confirmation')
... ...