price-point-api/app/controllers/sessions_controller.rb
Mohammad Kanaan 9058d1ae2e WIP 1
2026-06-10 18:51:32 +03:00

12 lines
196 B
Ruby

class SessionsController < ApplicationController
before_action :authenticate_user, only: [:destroy]
def create
user = User.find_by(email: params[:email])
end
def destroy
end
end