If you go to the admin page and click on "Sessions" when there are no events, you get the error message "undefined method `sessions' for nil:NilClass". This is because every session must belong to an event. The link to the sessions page should not be provided when there are no events.
If you go to the admin page and click on "Sessions" when there are no events, you get the error message "undefined method `sessions' for nil:NilClass". This is because every session must belong to an event. The link to the sessions page should not be provided when there are no events.