<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def detail_action(**kwargs):
 """ Used to mark a method on a ResourceBinding that should be routed for detail actions. """

    def decorator(func):
        func.action = True
        func.detail = True
        func.kwargs = kwargs
        return func
    return decorator