Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect if not logged in #17

Closed
meyerhoferc opened this issue Oct 29, 2018 · 1 comment
Closed

Redirect if not logged in #17

meyerhoferc opened this issue Oct 29, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@meyerhoferc
Copy link
Owner

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 meyerhoferc mentioned this issue Oct 29, 2018
@meyerhoferc meyerhoferc added the bug Something isn't working label Oct 29, 2018
@meyerhoferc
Copy link
Owner Author

This has been fixed in PR #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant