Ember admin works with subdirectory

fixes #3047
Merge pull request #3048 from ErisDS/issue-3047

Ember admin works with subdirectory