Jelajahi Sumber

I remembered why we hup the parent during post, heh

George Baugh 5 bulan lalu
induk
melakukan
81f789862d
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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);
 }