Explorar o código

rescue /config/save

George S. Baugh %!s(int64=4) %!d(string=hai) anos
pai
achega
91b2b3bf6c
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      lib/Trog/Routes/HTML.pm

+ 5 - 0
lib/Trog/Routes/HTML.pm

@@ -78,6 +78,11 @@ our %routes = (
         auth     => 1,
         callback => \&Trog::Routes::HTML::post_delete,
     },
+    '/config/save' => {
+        method   => 'POST',
+        auth     => 1,
+        callback => \&Trog::Routes::HTML::config_save,
+    },
     '/themeclone' => {
         method   => 'POST',
         auth     => 1,