Changeset 252


Ignore:
Timestamp:
03/18/09 13:36:35 (3 years ago)
Author:
bauer
Message:

podcasts tercera parte

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/controllers/podcasts_controller.php

    r251 r252  
    191191        /** delete uploaded file ==*/ 
    192192        unlink($podfile); 
    193         $this->flash($ErrMsg,'/admin/podcasts/listing/'); #lleva a add 
     193        $this->flash($ErrMsg,'/admin/podcasts/add/'); 
    194194    } 
    195195     
     
    202202        /** delete uploaded file */ 
    203203        unlink($podfile); 
    204         $this->flash($ErrMsg,'/admin/podcastslisting/'); #lleva a add 
     204        $this->flash($ErrMsg,'/admin/podcasts/add/'); 
    205205 
    206206    } 
     
    261261   $this->data['Podcast']['user_id']     = $this->Auth->user('id'); 
    262262    
    263    if (!$this->Podcast->save($this->data)) 
     263   if ($this->Podcast->save($this->data)) 
    264264   { 
    265265       $this->flash('Your podcast has been saved.','/admin/podcasts/listing'); 
     
    275275 
    276276 
    277  
    278  
    279277public function rss($user)  
    280278{    
Note: See TracChangeset for help on using the changeset viewer.