fix for site create

This commit is contained in:
Kyle Drake 2014-08-03 12:35:39 -07:00
parent d3fc35989d
commit 3233494281

View file

@ -360,6 +360,7 @@ class Site < Sequel::Model
def before_create
self.email_confirmation_token = SecureRandom.hex 3
super
end
# def after_destroy