module Api::V1 class UsersController < ApplicationController def show @user = User.find_by(email: params[:email]) render json: @user end end end