aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorLuc Donnet2012-04-13 18:11:39 +0200
committerLuc Donnet2012-04-13 18:11:39 +0200
commit210cec8f14d86b04dd85571c5d0d1db732ab0dfd (patch)
treef80c22827dcf8598ccbd96c64dbb16a201552c12 /app/models/user.rb
parent0b22254795fa98f762307b2e32599d150a3e87cb (diff)
parent35e03fb3188610308d9127a9bab878c2234b22db (diff)
downloadchouette-core-210cec8f14d86b04dd85571c5d0d1db732ab0dfd.tar.bz2
Merge branch 'master' of chouette.dryade.priv:/srv/git/chouette2
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
new file mode 100644
index 000000000..b2f7c8ec9
--- /dev/null
+++ b/app/models/user.rb
@@ -0,0 +1,9 @@
+class User < ActiveRecord::Base
+ # Include default devise modules. Others available are:
+ # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable
+ devise :database_authenticatable, :registerable,
+ :recoverable, :rememberable, :trackable, :validatable
+
+ # Setup accessible (or protected) attributes for your model
+ attr_accessible :email, :password, :password_confirmation, :remember_me
+end