allow registration and signin/out on the API

This commit is contained in:
Brenda Wallace committed 2016-09-11 14:23:50 +12:00
1 parent fe137a11bb
commit c6413afa67
2 files changed
+3

No files matched your search

@@ -1,4 +1,5 @@
class RegistrationsController < Devise::RegistrationsController
respond_to :json
def edit
@twitter_auth = current_member.auth('twitter')