[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

@@ -264,7 +264,7 @@ class DocType(DocListController):
self.doc.title = self.doc.item_name
if self.doc.slideshow:
from website.helpers.slideshow import get_slideshow
from website.doctype.website_slideshow.website_slideshow import get_slideshow
get_slideshow(self)
def get_file_details(self, arg = ''):