Class: ApiBackend::TokensController
- Inherits:
-
ApiController
- Object
- ApiController
- ApiBackend::TokensController
- Defined in:
- app/controllers/api_backend/tokens_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
5 6 7 8 |
# File 'app/controllers/api_backend/tokens_controller.rb', line 5 def create @user = find_user_by_email(params[:email]) authenticate_user ? render : end |