class ActionDispatch::Routing::RouteWrapper

def action

def action
  parts.include?(:action) ? ":action" : requirements[:action]
end