Development

Changeset 13211

You must first sign up to be able to contribute.

Changeset 13211

Show
Ignore:
Timestamp:
11/21/08 20:48:30 (4 years ago)
Author:
Jonathan.Wage
Message:

[1.2] sfDoctrinePlugin: Fixing issue with admin generator routes (closes #5027)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrinePlugin/trunk/data/generator/sfDoctrineModule/admin/template/templates/_filters.php

    r12669 r13211  
    44  [?php endif; ?] 
    55 
    6   <form action="[?php echo url_for('@<?php echo $this->getUrlForAction('filter') ?>') ?]" method="post"> 
     6  <form action="[?php echo url_for('<?php echo $this->getUrlForAction('collection') ?>', array('action' => 'filter')) ?]" method="post"> 
    77    <table cellspacing="0"> 
    88      <tfoot> 
     
    1010          <td colspan="2"> 
    1111            [?php echo $form->renderHiddenFields() ?] 
    12             [?php echo link_to(__('Reset', array(), 'sf_admin'), '@<?php echo $this->getUrlForAction('filter') ?>', array('method' => 'post', 'query_string' => '_reset')) ?] 
     12            [?php echo link_to(__('Reset', array(), 'sf_admin'), '<?php echo $this->getUrlForAction('collection') ?>', array('action' => 'filter'), array('query_string' => '_reset', 'method' => 'post')) ?] 
    1313            <input type="submit" value="[?php echo __('Filter', array(), 'sf_admin') ?]" /> 
    1414          </td> 
  • plugins/sfDoctrinePlugin/trunk/data/generator/sfDoctrineModule/admin/template/templates/indexSuccess.php

    r12634 r13211  
    1919  <div id="sf_admin_content"> 
    2020<?php if ($this->configuration->getValue('list.batch_actions')): ?> 
    21     <form action="[?php echo url_for('<?php echo $this->getUrlForAction('batch') ?>') ?]" method="post"> 
     21    <form action="[?php echo url_for('<?php echo $this->getUrlForAction('collection') ?>', array('action' => 'batch')) ?]" method="post"> 
    2222<?php endif; ?> 
    2323    [?php include_partial('<?php echo $this->getModuleName() ?>/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper)) ?]