Changeset 3499 for websites/inamode9

Show
Ignore:
Timestamp:
12/23/07 23:39:23 (5 years ago)
Author:
tokuhirom
Message:

Inamode9: miss.

Location:
websites/inamode9/trunk
Files:
17 added
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • websites/inamode9/trunk/lib/Inamode9/Controller/Root.pm

    r3498 r3499  
    99    my ( $self, $c ) = @_; 
    1010 
    11     $c->response->body( $c->welcome_message ); 
     11    warn "DEFAULT"; 
     12    $c->stash->{template} = 'welcome.tt2'; 
    1213} 
    1314 
    14 sub end : ActionClass('RenderView') {} 
     15sub foo: Global { 
     16    my ($self, $c) = @_; 
     17 
     18    if ($c->user_exists) { 
     19        # $c->stash->{template} = 'welcome.tt2'; 
     20    } 
     21    $c->stash->{template} = ''; 
     22} 
     23 
     24sub end : Private { 
     25    my ($self, $c) = @_; 
     26 
     27    $c->forward('Inamode9::View::TT'); 
     28} 
    1529 
    16301;