Development

Changeset 12095

You must first sign up to be able to contribute.

Changeset 12095

Show
Ignore:
Timestamp:
10/09/08 00:02:48 (6 years ago)
Author:
Jonathan.Wage
Message:

[1.2] sfDoctrineGuardPlugin: fixes #4613 Backporting routing change from r12071

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrineGuardPlugin/trunk/lib/sfGuardRouting.class.php

    r8776 r12095  
    2828 
    2929    // preprend our routes 
    30     $r->prependRoute('sf_guard_signin', '/login', array('module' => 'sfGuardAuth', 'action' => 'signin')); 
    31     $r->prependRoute('sf_guard_signout', '/logout', array('module' => 'sfGuardAuth', 'action' => 'signout')); 
    32     $r->prependRoute('sf_guard_password', '/request_password', array('module' => 'sfGuardAuth', 'action' => 'password')); 
     30    $r->prependRoute('sf_guard_signin', new sfRoute('/login', array('module' => 'sfGuardAuth', 'action' => 'signin')));  
     31     $r->prependRoute('sf_guard_signout', new sfRoute('/logout', array('module' => 'sfGuardAuth', 'action' => 'signout')));  
     32     $r->prependRoute('sf_guard_password', new sfRoute('/request_password', array('module' => 'sfGuardAuth', 'action' => 'password'))); 
    3333  } 
    3434}