Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-acts-as-indexed
Commits
21b5711b
Commit
21b5711b
authored
Aug 19, 2015
by
Brice Sanchez
Browse files
Fix user model with new authentication
parent
b18c41e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/decorators/models/refinery/user_decorator.rb
View file @
21b5711b
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment