Fix view-registrations if accessing e.g. on subsites.
Merge pull request #25 from 4teamwork/es-fix-subsite

Fix view-registrations if accessing e.g. on subsites.