Ignore:
Timestamp:
02/06/19 09:33:27 (5 years ago)
Author:
nanardon
Message:

Add api to get version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Remote.pm

    r1644 r2190  
    3737    my ( $self, $c ) = @_; 
    3838 
    39     $c->response->body('Matched LATMOS::Accounts::Web::Controller::Remote in Remote.'); 
     39    $c->stash->{data} = { 
     40        LA  => $LATMOS::Accounts::VERSION, 
     41        LAW => $LATMOS::Accounts::Web::VERSION, 
     42        Remote => [ 
     43            map { $_ =~ s/^Remote:://; $_ } 
     44            grep { /^Remote::/ } 
     45            $c->controllers 
     46        ], 
     47    }; 
    4048} 
    4149 
Note: See TracChangeset for help on using the changeset viewer.