root/websites/mobilecat/trunk/lib/MobileCat/Controller/API.pm
@
16852
| Revision 16852, 284 bytes (checked in by tomi-ru, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | package MobileCat::Controller::API; |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | use base 'Catalyst::Controller'; |
| 5 | |
| 6 | sub auto :Private { |
| 7 | my ($self, $c) = @_; |
| 8 | $c->res->content_type('text/plain; charset=UTF-8'); |
| 9 | 1; |
| 10 | } |
| 11 | |
| 12 | sub end :Private { |
| 13 | my ($self, $c) = @_; |
| 14 | $c->forward('/error'); |
| 15 | } |
| 16 | |
| 17 | 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)