                      extra_kwargs = getattr(viewset, methodname).kwargs
                      ret.append((
                          url_format.replace('{methodname}', methodname),
                          {httpmethod: methodname},
                          name_format.replace('{methodname}', methodname),
                          extra_kwargs
                      ))
              else:
                  # Standard route
                  extra_kwargs = {}
 
</s> remove                         url_format.replace('{methodname}', methodname),
 </s> add                         replace_methodname(url_format, methodname), </s> remove                 # Dynamic routes
 </s> add                 # Dynamic routes (@link or @action decorator) </s> remove             '{basename}-{methodname}'
 </s> add             '{basename}-{methodnamehyphen}'
                        replace_methodname(name_format, methodname),
                      extra_kwargs = getattr(viewset, methodname).kwargs
                      ret.append((
                          url_format.replace('{methodname}', methodname),
                          {httpmethod: methodname},
                        replace_methodname(name_format, methodname),
                          extra_kwargs
                      ))
              else:
                  # Standard route
                  extra_kwargs = {}
keep keep keep keep replace keep keep keep keep keep
 Added AutoRouter.  Don't know if this is a good idea. 
rest_framework/routers.py