dailypenn / eventsatpenn

Penn campus events aggregation website with Facebook integration
0 stars 0 forks source link

Add before_actions for pages that need log in to throw 403 for unlogged in users #74

Closed afischer closed 6 years ago

afischer commented 6 years ago

For pages like /event/new, a user shouldn't be able to access it if not logged in. Add a before action to check if they are logged in. If not, send them to 403 not allowed land.