Assembla home | Assembla project page
 

Changeset 112

Show
Ignore:
Timestamp:
07/18/07 15:54:58 (1 year ago)
Author:
digitalspaghetti
Message:

Fixed error in relation of changing stub to slug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branch/views/posts/admin_view.ctp

    r109 r112  
    11<div class="hentry"> 
    2         <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['stub']))); ?></h2> 
     2        <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['slug']))); ?></h2> 
    33        <?php echo $html->link('Edit', array('action'=>'edit', $post['Post']['id'])); ?> 
    44        <abbr class="updated" title=""><?php echo $post['Post']['post_date']; ?></abbr> 
  • branch/views/posts/index.ctp

    r89 r112  
    11<?php foreach ($posts as $post): ?> 
    22                <div class="hentry"> 
    3                         <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['stub']))); ?></h2> 
     3                        <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['slug']))); ?></h2> 
    44                        <div class="entry-infobar"> 
    55                                Updated on <abbr class="updated" title=""><?php echo $post['Post']['post_date']; ?></abbr> by  
  • branch/views/posts/view.ctp

    r109 r112  
    11<div class="hentry"> 
    2         <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['stub']))); ?></h2> 
     2        <h2 class="entry-title"><?php e($html->link($post['Post']['title'], array('controller'=>'posts', 'action'=>'view', $post['Post']['slug']))); ?></h2> 
    33        <?php echo $html->link('Edit', array('action'=>'edit', $post['Post']['id'])); ?> 
    44        <abbr class="updated" title=""><?php echo $post['Post']['post_date']; ?></abbr>