Browse Source

I remembered why we hup the parent during post, heh

George Baugh 5 tháng trước cách đây
mục cha
commit
81f789862d
1 tập tin đã thay đổi với 3 bổ sung và 0 xóa
  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);
 }