diff options
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page')
-rw-r--r-- | demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page b/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page index c2e2db86..78c345a3 100644 --- a/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page +++ b/demos/blog-tutorial/protected/pages/Day3/CreateEditUser.page @@ -156,8 +156,7 @@ class EditUser extends TPage $userRecord->save();
// redirects the browser to the homepage
- $url=$this->Service->constructUrl($this->Service->DefaultPage);
- $this->Response->redirect($url);
+ $this->Response->redirect($this->Service->DefaultPageUrl);
}
}
|