Skip to content

Commit

Permalink
User must be logged in to see Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
TimKJones committed Sep 17, 2020
1 parent eb1d6de commit 2252046
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/pages_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class PagesController < ApplicationController
layout :resolve_layout
before_action :authenticate_user!, only: :dashboard

private

Expand Down

0 comments on commit 2252046

Please sign in to comment.