Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get AtWho working correctly with Devise? #20

Open
RailsCod3rFuture opened this issue Dec 23, 2015 · 0 comments
Open

How to get AtWho working correctly with Devise? #20

RailsCod3rFuture opened this issue Dec 23, 2015 · 0 comments

Comments

@RailsCod3rFuture
Copy link

The test data works perfectly within the app, data = [ 'test-name', 'test-name', 'etc' ]

jQuery ->
$('[data-behavior ="autocomplete"]').atwho(
at: "@",
'data': "/users.json"
)

How do I expose users information from Devise using json in the safest way possible? I also have a slugged username with the help of friendly_id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant