admin管理员组

文章数量:1208155

I disabled twig as I want to use html/php template files and knockout.

In my action i attempt to save the user and return the profile view template and to send the user data to the view.

try {
        $entityManager->persist($user);
        $entityManager->flush();

        return $this->render('user/profile.php', [
            'user' => $user
        ]);
            
}

Everything works fine but in the image i attached, you can see that the content loads in the preview pane but not in the actual browser page and my actual browser page remains the same with all fields in tact and no redirection from the current page. I have tried on chrome as well and I experience the same issue.

I expected the rendered view template to be visible in the browser tab where I created the user.

本文标签: