Open ryanramage opened 12 years ago
The kanso-topbar package will search for an existing dashboard at '/' then at '/dashboard/_design/dashboard/_rewrite/'. If neither is found it uses '/'. Rewrites shouldn't have anything to do with it.
Do you have a dashboard installed? If so, where?
Just tried added a topbar to a traditional couchapp which does not have rewrites, but has a path like:
http://localhost:5984/focus/_design/focus/index.html
Clicking on the icon to return to the dashboard fails because it assumes the dashboard in on the root. I guess we should detect for apps with direct access. Maybe instead of _rewrite, we look for _design?