Commit 21b5711b authored by Brice Sanchez's avatar Brice Sanchez
Browse files

Fix user model with new authentication

parent b18c41e1
require 'acts_as_indexed'
begin
Refinery::User.class_eval do
Refinery::Authentication::Devise::User.class_eval do
# Docs for acts_as_indexed http://github.com/dougal/acts_as_indexed
acts_as_indexed :fields => [:username, :email]
end
rescue NameError
end
end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment