Created
May 15, 2012 20:41
-
-
Save takacsv/2704979 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/perl | |
use strict; | |
use warnings; | |
use feature ':5.10'; | |
use Mojolicious::Lite; | |
get '/:acb', acb => qr/^auth.*/ => sub { | |
$_[0]->render_json({ 'page' => $_[0]->param('acb') }); | |
}; | |
app->start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment