  
  
  def detail_route(methods=['get'], **kwargs):
      """
      Used to mark a method on a ViewSet that should be routed for detail requests.
      """
      def decorator(func):
          func.bind_to_methods = methods
          func.detail = True
          func.kwargs = kwargs
 
</s> remove def link(**kwargs):
 </s> add def detail_route(methods=['get'], **kwargs): </s> remove def detail_route(methods=['get'], **kwargs):
 </s> add def link(**kwargs): </s> remove         func.detail = True
 </s> add         func.detail = False </s> remove def list_route(methods=['get'], **kwargs):
 </s> add def action(methods=['post'], **kwargs):
    Used to mark a method on a ViewSet that should be routed for detail GET requests.
  
  
  def detail_route(methods=['get'], **kwargs):
      """
    Used to mark a method on a ViewSet that should be routed for detail GET requests.
      """
      def decorator(func):
          func.bind_to_methods = methods
          func.detail = True
          func.kwargs = kwargs
keep keep keep keep replace keep keep keep keep keep
 Commenting link/action decorators as pending deprecation 
rest_framework/decorators.py