Browse Source

no registerable for admins

pull/1/head
Claudius Nicolae 12 years ago
parent
commit
9af08804a8
  1. 2
      app/models/admin.rb

2
app/models/admin.rb

@ -2,7 +2,7 @@ class Admin < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
# :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
devise :database_authenticatable, #:registerable,
:recoverable, :rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your model

Loading…
Cancel
Save