Ignore:
Timestamp:
01/02/11 02:12:38 (13 years ago)
Author:
nanardon
Message:
  • add statistics page (with graph)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Root.pm

    r247 r265  
    110110sub  end : Private { 
    111111    my ( $self, $c ) = @_; 
     112    if (!$c->stash->{current_view}) { 
     113        if (ref($c->stash->{xmlrpc}) eq 'HASH' && 
     114            $c->stash->{xmlrpc}{graph}) { 
     115            $c->stash->{current_view} = 'GD'; 
     116        } 
     117    } 
    112118    if (!$c->req->xmlrpc->method) { 
    113119        $c->forward('_end'); 
    114     } elsif (!$c->stash->{current_view}) { 
    115120    } 
    116121    $c->stash->{data} = $c->stash->{xmlrpc}; 
Note: See TracChangeset for help on using the changeset viewer.