Skip to content

Commit

Permalink
make calls into logic.actions using get_action
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 6, 2012
1 parent f7b3669 commit 8d0e188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/logic/action/get.py
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 8d0e188

Please sign in to comment.