Changeset 1754

Show
Ignore:
Timestamp:
09/01/08 13:47:02 (4 months ago)
Author:
lmajano
Message:

Ticket #564
missing token on setnextroute

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • coldbox/trunk/system/controller.cfc

    r1610 r1754  
    315315                <cfargument name="persist"                      hint="What request collection keys to persist in the relocation" required="false" type="string" default=""> 
    316316                <cfargument name="varStruct"            required="false" type="struct" hint="A structure key-value pairs to persist."> 
     317                <cfargument name="addToken"                     hint="Wether to add the tokens or not. Default is false" type="boolean" required="false" default="false"        > 
    317318                <!--- ************************************************************* ---> 
    318319                <Cfset var routeLocation = getSetting("sesBaseURL")> 
     
    332333                 
    333334                <!--- Reroute ---> 
    334                 <cflocation url="#routeLocation#" addtoken="no"> 
     335                <cflocation url="#routeLocation#" addtoken="#arguments.addToken#"> 
    335336        </cffunction> 
    336337         
  • coldbox/trunk/system/frameworkSupertype.cfc

    r1749 r1754  
    195195                <cfargument name="persist"                      hint="What request collection keys to persist in the relocation" required="false" type="string" default=""> 
    196196                <cfargument name="varStruct"            required="false" type="struct" hint="A structure key-value pairs to persist."> 
     197                <cfargument name="addToken"                     hint="Wether to add the tokens or not. Default is false" type="boolean" required="false" default="false"        > 
    197198                <!--- ************************************************************* ---> 
    198199                <cfset controller.setNextRoute(argumentCollection=arguments)> 

Copyright 2006 ColdBox Framework by Luis Majano