feat: Sessions controller

Sessions helper methods, login and signup modals, load partial views with stimulus

Situmuls usersController, Create and Destroy user sessions
This commit is contained in:
Juan Rodriguez
2021-06-14 11:46:25 -05:00
parent f63be42b4c
commit 9c7146820c
28 changed files with 288 additions and 58 deletions
-4
View File
@@ -1,10 +1,6 @@
# frozen_string_literal: true
class UsersController < ApplicationController
def new
@user = User.new
end
def create
@user = User.create(user_params)
if @user.errors.any?