0

I'm using Rails 5 (not API) and Devise for authentication.

I have a custom action that needs to be triggered by ajax. For unauthenticated requests it works, but this particular request needs to be authenticated.

How do I do it?

Artur Haddad
  • 1,429
  • 2
  • 16
  • 33

0 Answers0