Compare commits
3 Commits
master
...
d4science_
Author | SHA1 | Date |
---|---|---|
Francesco Mangiacrapa | bbc742092c | |
Francesco Mangiacrapa | 6438ffa3fc | |
Francesco Mangiacrapa | f46062681c |
|
@ -39,7 +39,8 @@ class PrivateDatasets(p.SingletonPlugin, tk.DefaultDatasetForm, DefaultPermissio
|
|||
p.implements(p.IAuthFunctions)
|
||||
p.implements(p.IConfigurer)
|
||||
p.implements(p.IBlueprint)
|
||||
p.implements(p.IRoutes, inherit=True)
|
||||
#p.implements(p.IRoutes, inherit=True)
|
||||
p.implements(p.IBlueprint)
|
||||
p.implements(p.IActions)
|
||||
p.implements(p.IPackageController, inherit=True)
|
||||
p.implements(p.ITemplateHelpers)
|
||||
|
@ -134,7 +135,7 @@ class PrivateDatasets(p.SingletonPlugin, tk.DefaultDatasetForm, DefaultPermissio
|
|||
tk.add_template_directory(config, 'templates')
|
||||
|
||||
# Register this plugin's fanstatic directory with CKAN.
|
||||
tk.add_resource(b'fanstatic', b'privatedatasets')
|
||||
tk.add_resource('fanstatic', 'privatedatasets')
|
||||
|
||||
######################################################################
|
||||
############################# IBLUEPRINT #############################
|
||||
|
|
|
@ -45,7 +45,7 @@ def acquired_datasets():
|
|||
return base.render('user/dashboard_acquired.html', extra_vars)
|
||||
|
||||
|
||||
class AcquiredDatasetsControllerUI(base.BaseController):
|
||||
class AcquiredDatasetsControllerUI():
|
||||
|
||||
def acquired_datasets(self):
|
||||
return acquired_datasets()
|
||||
|
|
Loading…
Reference in New Issue