From 80b7e4fe942638eb69a686e06e3ca99c06791da6 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 21 Feb 2023 21:03:00 -0600 Subject: AƱade controlador de autenticaciones MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/authentications_controller.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/controllers/api/authentications_controller.rb (limited to 'app') diff --git a/app/controllers/api/authentications_controller.rb b/app/controllers/api/authentications_controller.rb new file mode 100644 index 0000000..90f04d8 --- /dev/null +++ b/app/controllers/api/authentications_controller.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Api + # The controller that handles authentications. + class AuthenticationsController < ApplicationController + def create; end + + def destroy; end + + def refresh; end + + private + + def permitted_params + params.require(:user_account).permit(:email, :password) + end + end +end \ No newline at end of file -- cgit v1.2.3