From 8d0e1883bbf300e4379e27163372e983746003df Mon Sep 17 00:00:00 2001 From: Toby Date: Tue, 6 Mar 2012 11:57:20 +0000 Subject: [PATCH] make calls into logic.actions using get_action --- ckan/logic/action/get.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/logic/action/get.py b/ckan/logic/action/get.py index 00162c69196..c6144c35f66 100644 --- a/ckan/logic/action/get.py +++ b/ckan/logic/action/get.py @@ -516,7 +516,7 @@ def group_show_rest(context, data_dict): check_access('group_show_rest',context, data_dict) - group_show(context, data_dict) + logic.get_action('group_show')(context, data_dict) group = context['group'] group_dict = model_dictize.group_to_api(group, context) @@ -527,7 +527,7 @@ def tag_show_rest(context, data_dict): check_access('tag_show_rest',context, data_dict) - tag_show(context, data_dict) + logic.get_action('tag_show')(context, data_dict) tag = context['tag'] tag_dict = model_dictize.tag_to_api(tag, context)