Show
Ignore:
Timestamp:
09/19/08 16:55:22 (4 months ago)
Author:
david
Message:

Improved sample app SearchEngineSpamAction? to use ID and optionally name, much nicer now, check it out. Closes #859

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/samples/app/config/routing.xml

    r2629 r2903  
    2828      <route name="search_engine_spam" pattern="^/products(/buy-cheap-{name:[\S\s]+}-at-agavi-dot-org)?/(id:\d+)" module="Default" action="SearchEngineSpam"> 
    2929        <defaults> 
    30           <default for="name">/buy-cheap-{chainsaws}-at-agavi-dot-org</default> 
     30          <default for="name">/buy-cheap-{}-at-agavi-dot-org</default> 
    3131        </defaults> 
    3232      </route> 
     
    4444      <route pattern="^getItemPrice$" module="Default" action="SearchEngineSpam" method="read"> 
    4545        <wsdl:input> 
    46           <wsdl:part name="name" type="xsd:string" /> 
     46          <wsdl:part name="id" type="xsd:int" /> 
    4747        </wsdl:input> 
    4848        <wsdl:output>