Show
Ignore:
Timestamp:
10/01/08 07:40:30 (3 months ago)
Author:
anatoo
Message:

足りてなかったアクション追加など

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/plain_php/trunk/action/StatusUpdateAction.php

    r20039 r20337  
    1313        $url = $this->req->HTTP_REFERER; 
    1414        $comment = $this->req->POST('comment', ''); 
    15         // @todo このへん上位モデルを作っておくべきか 
     15 
    1616        if (preg_match('#^@([[:word:]]{1,30})#', $comment, $matches)) {  
    1717            $reply_user = $this->getAcountService()->fetchByUserName($matches[1]); 
     
    2626            $this->getStatusService()->reply($this->getSession()->user_id, $comment, $reply_user_id); 
    2727             
    28         throw new RedirectResponse($url); 
     28        throw new RedirectResponse($this->baseUrl . '/home'); 
    2929    } 
    3030}