finished #646 and fixed #664

This commit is contained in:
Jamie.Rees 2016-11-14 13:16:02 +00:00
parent 05bdfcd550
commit 55f1309140
41 changed files with 494 additions and 261 deletions

View file

@ -49,8 +49,8 @@ namespace PlexRequests.UI.Modules.Admin
Cache = cache;
SystemSettings = ss;
Security.HasPermissionsResponse(Permissions.Administrator);
Before += (ctx) => Security.AdminLoginRedirect(Permissions.Administrator, ctx);
Get["/status", true] = async (x, ct) => await Status();
Post["/save", true] = async (x, ct) => await Save();