Clean up the code.

This commit is contained in:
David Henry
2014-05-06 23:31:59 +01:00
parent b5da4e82d0
commit bec913fc07
6 changed files with 19 additions and 36 deletions

View File

@@ -0,0 +1,13 @@
module SharedUserWithoutOmniauth
extend ActiveSupport::Concern
included do
devise :database_authenticatable, :confirmable, :lockable, :recoverable,
:registerable, :rememberable, :timeoutable,
:trackable, :validatable
end
def raw_confirmation_token
@raw_confirmation_token
end
end