Преглед изворни кода

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);
 }