12 lines
196 B
Ruby
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
|