Created
March 9, 2010 04:30
-
-
Save slywalker/326188 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/workshop/views/posts/view.ctp b/workshop/views/posts/view.ctp | |
index df8a9dc..f5df297 100644 | |
--- a/workshop/views/posts/view.ctp | |
+++ b/workshop/views/posts/view.ctp | |
@@ -8,7 +8,7 @@ | |
</dd> | |
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('User'); ?></dt> | |
<dd<?php if ($i++ % 2 == 0) echo $class;?>> | |
- <?php echo $html->link($post['User']['id'], array('controller' => 'users', 'action' => 'view', $post['User']['id'])); ?> | |
+ <?php echo $html->link($post['User']['username'], array('controller' => 'users', 'action' => 'view', $post['User']['id'])); ?> | |
| |
</dd> | |
<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Title'); ?></dt> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment