diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index e401cb0..b9ec442 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -1,3 +1,4 @@ class StaticPagesController < ApplicationController + before_action :authenticate_user! def home; end end diff --git a/app/views/layouts/_navbar.html.erb b/app/views/layouts/_navbar.html.erb index 06c4110..fcaab1d 100644 --- a/app/views/layouts/_navbar.html.erb +++ b/app/views/layouts/_navbar.html.erb @@ -11,8 +11,6 @@