← Back to team overview

amm-dev-tem team mailing list archive

[Branch ~amm-dev-tem/amm/trunk] Rev 27: link correction in 'view' of 'Places'

 

------------------------------------------------------------
revno: 27
committer: The Whole Life To Learn <thewholelifetolearn@xxxxxxxxx>
branch nick: sources
timestamp: Tue 2011-05-31 17:31:46 +0200
message:
  link correction in 'view' of 'Places'
modified:
  app/views/places/view.ctp


--
lp:amm
https://code.launchpad.net/~amm-dev-tem/amm/trunk

Your team AMM dev team is subscribed to branch lp:amm.
To unsubscribe from this branch go to https://code.launchpad.net/~amm-dev-tem/amm/trunk/+edit-subscription
=== modified file 'app/views/places/view.ctp'
--- app/views/places/view.ctp	2011-05-28 10:02:47 +0000
+++ app/views/places/view.ctp	2011-05-31 15:31:46 +0000
@@ -61,7 +61,7 @@
 			<td><?php echo $person['phone'].' '.$person['email'];?></td>
 			<td class="actions">
 				<?php echo $this->Html->link(__('View', true), array('controller' => 'people', 'action' => 'view', $person['id'])); ?>
-				<?php echo $this->Html->link(__('Delete from place', true), array('controller' => 'people', 'action' => 'delete', $person['PeoplePlace']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $person['name'])); ?>
+				<?php echo $this->Html->link(__('Delete from place', true), array('controller' => 'people_places', 'action' => 'delete', $person['PeoplePlace']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $person['name'])); ?>
 			</td>
 		</tr>
 	<?php endforeach; ?>