Skip to content

Commit

Permalink
fix(views): redirect for admin publish;
Browse files Browse the repository at this point in the history
- Fixed redirect for admin publish form.
  • Loading branch information
JVickery-TBS committed Aug 1, 2023
1 parent f9b5d2c commit 8536419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/canada/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def ckanadmin_publish_datasets():
h.flash_notice(str(count) + _(u' record(s) published.'))

# return us to the publishing interface
return h.redirect_to(h.url_for('canada.ckanadmin_publish'))
return h.redirect_to('canada.ckanadmin_publish')


@canada_views.route('/dataset/<id>/delete-datastore-table/<resource_id>', methods=['GET', 'POST'])
Expand Down

0 comments on commit 8536419

Please sign in to comment.