From 62a3d19900247fe26d46f140a568b6ce5996b0f4 Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 21 Apr 2021 22:30:32 -0400 Subject: Devise setup and config --- app/controllers/application_controller.rb | 1 + app/controllers/home_controller.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 09705d1..6b4dcfa 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,2 +1,3 @@ class ApplicationController < ActionController::Base + before_action :authenticate_user! end diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 13e5d35..57f762e 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class HomeController < ApplicationController - #skip_before_action :authenticate_user! + skip_before_action :authenticate_user! def index end -- cgit v1.2.3