micro-blogger/app/views/v1/authentication/authenticate.json.jbuilder
2018-11-10 20:34:11 -06:00

5 lines
107 B
Ruby

# frozen_string_literal: true
json.auth_token @token
json.user @user, partial: "v1/users/user", as: :user