Development

Changeset 7591

You must first sign up to be able to contribute.

Changeset 7591

Show
Ignore:
Timestamp:
02/23/08 21:13:50 (9 months ago)
Author:
FabianLange
Message:

updated my first tutorial instructions to be compliant with the screenshot for 1.0 and 1.1. Fixes #2513

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.0/tutorial/my-first-project.txt

    r7560 r7591  
    484484    <td><?php echo $post->getTitle() ?></td> 
    485485 
    486 To
    487  
    488     [php] 
    489     <td><?php echo link_to($post->getTitle(), 'post/permalink?title='.$post->getStrippedTitle()) ?></td> 
     486To a link using a named rule we will create in a second
     487 
     488    [php] 
     489    <td><?php echo link_to($post->getTitle(), '@post?title='.$post->getStrippedTitle()) ?></td> 
    490490 
    491491Just one more step: Edit the `routing.yml` located in the `sf_sandbox/apps/frontend/config/` directory and add these rules 
  • doc/branches/1.1/tutorial/my-first-project.txt

    r7560 r7591  
    552552    <td><?php echo $post->getTitle() ?></td> 
    553553 
    554 To
    555  
    556     [php] 
    557     <td><?php echo link_to($post->getTitle(), 'post/permalink?title='.$post->getStrippedTitle()) ?></td> 
     554To a link using a named rule we will create in a second
     555 
     556    [php] 
     557    <td><?php echo link_to($post->getTitle(), '@post?title='.$post->getStrippedTitle()) ?></td> 
    558558 
    559559Just one more step: Edit the `routing.yml` located in the