Skip to content

Commit

Permalink
Merge pull request #8040 from ckan/revert-8035-activity-fix
Browse files Browse the repository at this point in the history
Revert "Set dataset type in new resource template"
  • Loading branch information
wardi committed Jan 30, 2024
2 parents 79fc89a + f24f633 commit aa89f75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set dataset_type = request.view_args.package_type or 'dataset' %}
{% set dataset_type = request.view_args.package_type %}
{% set pkg_url = h.url_for(dataset_type ~ '.read', id=change.pkg_id) %}
{% set resource_url = h.url_for(dataset_type ~ '_resource.read', id=change.pkg_id, resource_id = change.resource_id, qualified=True) %}

Expand Down

0 comments on commit aa89f75

Please sign in to comment.