Skip to content

Commit

Permalink
Merge pull request #5324 from DataShades/package_type-in-urls
Browse files Browse the repository at this point in the history
default behavior for prepare_blueprint
  • Loading branch information
smotornyuk committed Apr 2, 2020
2 parents 6477467 + 952aec2 commit a405849
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/plugins/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,7 @@ def prepare_dataset_blueprint(self, package_type, blueprint):
:rtype: flask.Blueprint
'''
return blueprint

def prepare_resource_blueprint(self, package_type, blueprint):
u'''Update or replace resource blueprint for given package type.
Expand All @@ -1345,6 +1346,7 @@ def prepare_resource_blueprint(self, package_type, blueprint):
:rtype: flask.Blueprint
'''
return blueprint


class IGroupForm(Interface):
Expand Down Expand Up @@ -1526,6 +1528,7 @@ def prepare_group_blueprint(self, group_type, blueprint):
:rtype: flask.Blueprint
'''
return blueprint

# End of hooks ############################################################

Expand Down

0 comments on commit a405849

Please sign in to comment.