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
Branches
Tags
2 merge requests!41Version 2.0.0,!38Merge py3 into dev
...@@ -44,10 +44,11 @@ def custom(): ...@@ -44,10 +44,11 @@ def custom():
request.args, request.args,
item_count=item_count, item_count=item_count,
limit=data_dict['rows'], limit=data_dict['rows'],
named_route='feeds.custom') controller=u'feeds',
action=u'custom')
feed_url = ckan_feed._feed_url(request.args, feed_url = ckan_feed._feed_url(request.args, controller=u'feeds',
named_route='feeds.custom') action=u'custom')
atom_url = h._url_with_params('/feeds/custom.atom', atom_url = h._url_with_params('/feeds/custom.atom',
list(search_params.items())) 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