[Isocial-svn] SF.net SVN: isocial: [222] app/controllers/photoapp/album_controller.php
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <fsn...@us...> - 2008-05-25 12:16:13
|
Revision: 222 http://isocial.svn.sourceforge.net/isocial/?rev=222&view=rev Author: fsnobody Date: 2008-05-25 05:16:21 -0700 (Sun, 25 May 2008) Log Message: ----------- after add album go to add photo action Modified Paths: -------------- app/controllers/photoapp/album_controller.php Modified: app/controllers/photoapp/album_controller.php =================================================================== --- app/controllers/photoapp/album_controller.php 2008-05-25 11:58:30 UTC (rev 221) +++ app/controllers/photoapp/album_controller.php 2008-05-25 12:16:21 UTC (rev 222) @@ -139,7 +139,7 @@ $this->PhotoappAlbum->owner = $this->current_user->getId(); if ($this->Request->isPost() && $this->PhotoappAlbum->save()){ // success - $this->redirectTo(array('action' => 'index')); + $this->redirectTo(array('action' => 'add_photo', 'id' => $this->PhotoappAlbum->getId())); } else { $this->importErrors( $this->PhotoappAlbum->getErrors() ); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |