Refactor user model

This commit is contained in:
Thibault Jouan 2011-08-24 19:18:39 +00:00
parent e015afed1d
commit 6c6ed3b0b2

View File

@ -28,6 +28,6 @@ class User < ActiveRecord::Base
end end
def bcrypt(string) def bcrypt(string)
return Password.create(string) Password.create(string)
end end
end end