def ajax_apps_info_stats_ctr(id): app = do_or_abort(actions.apps.get_app, id, full=True) if app.user.id != g.user.id: abort(404) return json_get_ctr(app_id=app.id)
def ajax_apps_info_stats_ctr(id): app = do_or_abort(a.apps.get_app, id, full=True) return cmnviews.json_get_ctr(app_id=app.id)
def ajax_orders_info_stats_ctr(id): order = do_or_abort(actions.orders.get_order, id, full=True) if order.user.id != g.user.id: abort(404) return json_get_ctr(offer_id=order.offer_id)
def ajax_orders_info_stats_ctr(id): order = do_or_abort(a.orders.get_order, id, full=True) return cmnviews.json_get_ctr(offer_id=order.offer_id)