root/lang/perl/Catalyst-Model-DynamicAdaptor/trunk/t/lib/TestApp/Controller/Root.pm
@
10543
| Revision 10543, 360 bytes (checked in by tomyhero, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | package TestApp::Controller::Root; |
| 2 | |
| 3 | use strict; |
| 4 | use warnings; |
| 5 | use base 'Catalyst::Controller'; |
| 6 | |
| 7 | __PACKAGE__->config->{namespace} = ''; |
| 8 | sub default : Private { |
| 9 | my ( $self, $c ) = @_; |
| 10 | $c->response->body( $c->model('Logic::Oppai')->porn ); |
| 11 | } |
| 12 | |
| 13 | sub boin : Local { |
| 14 | my ( $self, $c ) = @_; |
| 15 | $c->response->body( $c->model('Logic::Boin')->boin ); |
| 16 | |
| 17 | } |
| 18 | |
| 19 | |
| 20 | 1; |
Note: See TracBrowser
for help on using the browser.
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)