summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/pages/Day4
diff options
context:
space:
mode:
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day4')
-rw-r--r--demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page2
-rw-r--r--demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page b/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page
index d9b66d33..2b21023d 100644
--- a/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page
+++ b/demos/blog-tutorial/protected/pages/Day4/CreateReadPost.page
@@ -23,7 +23,7 @@ The <tt>ReadPost</tt> page template is very similar to the <tt>PostRenderer</tt>
</h2>
&lt;com:TControl Visible="&lt;%= $this->canEdit() %>">
- <a href="&lt;%= $this->Service->constructUrl('EditPost',array('id'=>$this->Post->post_id))%>">Edit</a> |
+ <a href="&lt;%= $this->Service->constructUrl('posts.EditPost',array('id'=>$this->Post->post_id))%>">Edit</a> |
&lt;com:TLinkButton Text="Delete"
OnClick="deletePost"
Attributes.onclick="javascript:if(!confirm('Are you sure?')) return false;" />
diff --git a/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page b/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page
index 83c059e7..9aeaed7b 100644
--- a/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page
+++ b/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page
@@ -23,7 +23,7 @@ Template halaman <tt>ReadPost</tt> sangat mirip dengan template <tt>PostRenderer
</h2>
&lt;com:TControl Visible="&lt;%= $this->canEdit() %>">
- <a href="&lt;%= $this->Service->constructUrl('EditPost',array('id'=>$this->Post->post_id))%>">Edit</a> |
+ <a href="&lt;%= $this->Service->constructUrl('posts.EditPost',array('id'=>$this->Post->post_id))%>">Edit</a> |
&lt;com:TLinkButton Text="Delete"
OnClick="deletePost"
Attributes.onclick="javascript:if(!confirm('Are you sure?')) return false;" />