meyerhoferc / secret-santa

0 stars 0 forks source link

Redirect if not logged in #17

Closed meyerhoferc closed 5 years ago

meyerhoferc commented 6 years ago

Currently, if a user tries to go to a page in the application but is not logged in, everything breaks. One way to do this is to add a before_action in the ApplicationController to check if a user is logged in before doing anything.

meyerhoferc commented 5 years ago

This has been fixed in PR #13