Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×

Create

View Paste
  1. function create() {
  2.       if(!empty($this->data)) {
  3.           if($this->Blog->save($this->data...
I want to redirect to the created $id, not the index. But it's not working as planned..
View Paste
  1. M:
  2.  
  3. <?php // 5
  4. class Person extends AppModel {
  5.    
  6.     public $password_salt = "heyhow";
  7.    
  8.     pub...
Person Creation, MVC with Validation