Commit 92768844cf894fda2d0eb50555a78b19d00f0ce8

Authored by Dmitriy Zaporozhets
1 parent f7ef23e4

Reverted accidently removed registration module

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/models/user.rb
@@ -43,7 +43,7 @@ require 'file_size_validator' @@ -43,7 +43,7 @@ require 'file_size_validator'
43 43
44 class User < ActiveRecord::Base 44 class User < ActiveRecord::Base
45 devise :database_authenticatable, :token_authenticatable, :lockable, :async, 45 devise :database_authenticatable, :token_authenticatable, :lockable, :async,
46 - :recoverable, :rememberable, :trackable, :validatable, :omniauthable 46 + :recoverable, :rememberable, :trackable, :validatable, :omniauthable, :registerable
47 47
48 attr_accessible :email, :password, :password_confirmation, :remember_me, :bio, :name, :username, 48 attr_accessible :email, :password, :password_confirmation, :remember_me, :bio, :name, :username,
49 :skype, :linkedin, :twitter, :color_scheme_id, :theme_id, :force_random_password, 49 :skype, :linkedin, :twitter, :color_scheme_id, :theme_id, :force_random_password,
@@ -398,4 +398,4 @@ class User &lt; ActiveRecord::Base @@ -398,4 +398,4 @@ class User &lt; ActiveRecord::Base
398 398
399 self 399 self
400 end 400 end
401 -end 401 -end
  402 +end
402 \ No newline at end of file 403 \ No newline at end of file