Return-Path: Delivered-To: apmail-struts-commits-archive@locus.apache.org Received: (qmail 42670 invoked from network); 27 Oct 2007 14:33:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2007 14:33:39 -0000 Received: (qmail 15534 invoked by uid 500); 27 Oct 2007 14:33:26 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 15494 invoked by uid 500); 27 Oct 2007 14:33:26 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 15485 invoked by uid 99); 27 Oct 2007 14:33:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2007 07:33:25 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Oct 2007 14:33:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A00ED1A9832; Sat, 27 Oct 2007 07:33:17 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r589117 - /struts/sandbox/trunk/struts2-rest-plugin/src/main/java/org/apache/struts2/rest/RestActionMapper.java Date: Sat, 27 Oct 2007 14:33:17 -0000 To: commits@struts.apache.org From: mrdon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071027143317.A00ED1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mrdon Date: Sat Oct 27 07:33:16 2007 New Revision: 589117 URL: http://svn.apache.org/viewvc?rev=589117&view=rev Log: Updating docs for new edit url style Modified: struts/sandbox/trunk/struts2-rest-plugin/src/main/java/org/apache/struts2/rest/RestActionMapper.java Modified: struts/sandbox/trunk/struts2-rest-plugin/src/main/java/org/apache/struts2/rest/RestActionMapper.java URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-rest-plugin/src/main/java/org/apache/struts2/rest/RestActionMapper.java?rev=589117&r1=589116&r2=589117&view=diff ============================================================================== --- struts/sandbox/trunk/struts2-rest-plugin/src/main/java/org/apache/struts2/rest/RestActionMapper.java (original) +++ struts/sandbox/trunk/struts2-rest-plugin/src/main/java/org/apache/struts2/rest/RestActionMapper.java Sat Oct 27 07:33:16 2007 @@ -81,6 +81,7 @@ *
  • GET: /movies => method="index"
  • *
  • GET: /movies/Thrillers => method="show", id="Thrillers"
  • *
  • GET: /movies/Thrillers;edit => method="edit", id="Thrillers"
  • + *
  • GET: /movies/Thrillers/edit => method="edit", id="Thrillers"
  • *
  • GET: /movies/new => method="editNew"
  • *
  • POST: /movies => method="create"
  • *
  • PUT: /movies/Thrillers => method="update", id="Thrillers"