Fix /app base URI

Use a view name instead of the ridiculous self-referential resource
and then use the appropriate generation in the base tag.