Skip to content
Snippets Groups Projects
Commit af732a65 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Fixed named route / controller for custom feed

parent 114f6af5
No related branches found
No related tags found
2 merge requests!41Version 2.0.0,!38Merge py3 into dev
......@@ -44,10 +44,11 @@ def custom():
request.args,
item_count=item_count,
limit=data_dict['rows'],
named_route='feeds.custom')
controller=u'feeds',
action=u'custom')
feed_url = ckan_feed._feed_url(request.args,
named_route='feeds.custom')
feed_url = ckan_feed._feed_url(request.args, controller=u'feeds',
action=u'custom')
atom_url = h._url_with_params('/feeds/custom.atom',
list(search_params.items()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment