[website] [minor] moving website helper methods to doctypes

This commit is contained in:
Rushabh Mehta
2013-09-09 11:32:24 +05:30
parent 78ffe46cd5
commit 46089dbc97
19 changed files with 131 additions and 155 deletions

View File

@@ -22,7 +22,7 @@ $(document).ready(function() {
comment_by_fullname: $("[name='comment_by_fullname']").val(),
comment_by: $("[name='comment_by']").val(),
comment: $("[name='comment']").val(),
cmd: "website.helpers.blog.add_comment",
cmd: "website.doctype.blog_post.blog_post.add_comment",
comment_doctype: "Blog Post",
comment_docname: "{{ name }}",
page_name: "{{ page_name }}",