summaryrefslogtreecommitdiff
path: root/demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page
diff options
context:
space:
mode:
authorwei <>2007-09-05 01:43:17 +0000
committerwei <>2007-09-05 01:43:17 +0000
commit9db6e012559ae7bdb46a9519c360bb936173f200 (patch)
treee85d0aace7888df21dcf892866e566b25ff5e244 /demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page
parent78af8b5719980ba12c391e20ecabdf3703452b05 (diff)
typos in blog tutorial. fixed empty result in active record relations. fixed keeping of post data in scaffold edit view when using renderer.
Diffstat (limited to 'demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page')
-rw-r--r--demos/blog-tutorial/protected/pages/Day4/id/CreateReadPost.page2
1 files changed, 1 insertions, 1 deletions
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;" />