Beispiel #1
0
def remember_navigation_history(request, project_id):
    """
    Remember the last page the user has visited inside a project

    :param obj request: The request object
    """
    keyword = "/projects/%s" % project_id
    handler = NavigationHandler(request, keyword)
    handler.remember()
def retrieve_navigation_history(request, project_id):
    """
    Retrieve the last page the user has visited inside a project

    :param obj request: The request object
    """
    keyword = "/businesses/%s" % project_id
    handler = NavigationHandler(request, keyword)
    return handler.last()
Beispiel #3
0
def retrieve_navigation_history(request, project_id):
    """
    Retrieve the last page the user has visited inside a project

    :param obj request: The request object
    """
    keyword = "/projects/%s" % project_id
    handler = NavigationHandler(request, keyword)
    return handler.last()
def remember_navigation_history(request, business_id):
    """
    Remember the last page the user has visited inside a project

    :param obj request: The request object
    """
    keyword = "/businesses/%s" % business_id
    handler = NavigationHandler(request, keyword)
    handler.remember()