OSDN Git Service

リンクエラー修正
authorCake <cake_67@users.sourceforge.jp>
Sat, 20 Mar 2010 05:17:03 +0000 (14:17 +0900)
committerCake <cake_67@users.sourceforge.jp>
Sat, 20 Mar 2010 05:17:03 +0000 (14:17 +0900)
app/views/elements/character_sidenav.ctp
app/views/layouts/admin_default.ctp

index b6c351d..152f617 100644 (file)
@@ -29,7 +29,7 @@ if (isset($character['Character']['name'])) {
        <li><?php echo $html->link(__('List Pictures', true), array('controller' => 'character_pictures', 'action' => 'index', $character_id)); ?> </li>
 <?php else: ?>
 <?php if ($this->params["action"] == 'edit' || $this->params["action"] == 'add_milti_profiles'): ?>
-       <li><?php echo $html->link($character_name.__("'s Home", true), array('controller' => 'characters', 'action' => 'index', $this->data['Character']['id'])); ?> </li>
+       <li><?php echo $html->link($character_name.__("'s Home", true), array('controller' => 'characters', 'action' => 'view', $this->data['Character']['id'])); ?> </li>
        <li><?php echo $html->link(__('List Pictures', true), array('controller' => 'character_pictures', 'action' => 'view', $this->data['Character']['id'])); ?> </li>
 <?php endif; ?>
 <?php endif; ?>
index 585f7a9..5cddbce 100644 (file)
@@ -93,7 +93,7 @@ echo $this->renderElement('admin_character_sidenav', array(
 
 <ul id="navAdmin" class="navi">
 <li>
-<?php echo $html->link(__('Members Home', true), Configure::read('Routing.basePath')); ?>
+<?php echo $html->link(__('Members Home', true), '/'); ?>
 </li>
 </ul>
 </div>