Explorar o código

I remembered why we hup the parent during post, heh

George Baugh hai 4 meses
pai
achega
81f789862d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      lib/Trog/Routes/HTML.pm

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

@@ -863,6 +863,9 @@ sub post_save ($qq) {
         $qq->{tpsgi}->invalidate_renders('html');
     });
 
+    # Force a reload of the routing table
+    $qq->{tpsgi}->signal_restart_parent();
+
     return $qq->{tpsgi}->see_also('/secure'.$to);
 }