Skip to content

Commit

Permalink
locked down members page
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwong committed Oct 6, 2018
1 parent 3ffede8 commit 71a027b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/static_pages_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
class StaticPagesController < ApplicationController
before_action :authenticate_user!, except: [:home]

def home
@signed_in = user_signed_in?
@signed_in = user_signed_in?
end

def members_only
Expand Down

0 comments on commit 71a027b

Please sign in to comment.