소스 검색

I remembered why we hup the parent during post, heh

George Baugh 5 달 전
부모
커밋
81f789862d
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  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);
 }