(refs #32)Clone or pull plugin repository before displaying the available plugins page

This commit is contained in:
Naoki Takezoe
2014-06-15 18:07:34 +09:00
parent fd4a696303
commit 4bd6ef143a
2 changed files with 24 additions and 0 deletions

View File

@@ -99,6 +99,8 @@ trait SystemSettingsControllerBase extends ControllerBase {
})
get("/admin/plugins/available")(adminOnly {
// TODO Do periodical and asynchronous...?
PluginSystem.updateAllRepositories()
admin.plugins.html.available(getAvailablePlugins())
})