Fix how events_enabled is checkd in routes.rb

Was causing errors in the migrations, since not always the table Site and/or
the attribute :events_enabled will be available.
Complements 2328565ccff1