feat(pluginlist): link in plugin list now goes to app/plugin default nav unless enabled

This commit is contained in:
Torkel Ödegaard
2016-05-03 19:00:42 +02:00
parent 5ffd57695c
commit f4a013946f
4 changed files with 8 additions and 3 deletions

View File

@@ -76,8 +76,6 @@ func (app *AppPlugin) initApp() {
}
}
app.DefaultNavUrl = setting.AppSubUrl + "/plugins/" + app.Id + "/edit"
// slugify pages
for _, include := range app.Includes {
if include.Slug == "" {