diff options
author | Alex Legler <alex@a3li.li> | 2015-03-14 12:07:23 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-03-14 12:07:23 +0100 |
commit | e4533869b166c018b2ec8680e65d33d6de6ad47d (patch) | |
tree | 56d754be31de16fd72929742e27deb2ea75b1ea2 | |
parent | MVP of security.gentoo.org (diff) | |
download | security-e4533869b166c018b2ec8680e65d33d6de6ad47d.tar.gz security-e4533869b166c018b2ec8680e65d33d6de6ad47d.tar.bz2 security-e4533869b166c018b2ec8680e65d33d6de6ad47d.zip |
Add /update API
-rw-r--r-- | anzen.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -86,3 +86,8 @@ get '/' do @nav = :index erb :index end + +get '/update' do + GLSARepository.instance.update! + 'ok' +end
\ No newline at end of file |