From b98a95c8cd640968cc856d63d1d97d7830ee821e Mon Sep 17 00:00:00 2001 From: Stefan Adams Date: Mon, 24 Apr 2017 14:59:59 -0500 Subject: [PATCH] Released version 0.01 - Initial release based on kraih's Mojolicious hack of the day: Mojolyst --- Changes | 2 +- README | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 README diff --git a/Changes b/Changes index 86e87fd..df188de 100644 --- a/Changes +++ b/Changes @@ -1,2 +1,2 @@ -0.01 Not Released +0.01 2017-04-24T14:59:32-0500 - Initial release based on kraih's Mojolicious hack of the day: Mojolyst diff --git a/README b/README new file mode 100644 index 0000000..a18fa98 --- /dev/null +++ b/README @@ -0,0 +1,38 @@ +NAME + Mojolicious::Plugin::Mojolyst - Mojolicious::Lite syntax in a full + Mojolicious app. + +SYNOPSIS + # Mojolicious + $self->plugin('Mojolyst' => {controllers => 'MyApp::Controller'}); + + # Mojolicious::Lite + plugin 'Mojolyst' => {controllers => 'MyApp::Controller'}; + + # In your MyApp::Controller controller + package MyApp::Controller::Foo; + use Mojolicious::Lite; + + get '/' => {text => 'Welcome to Mojolyst!'}; + + 1; + +DESCRIPTION + Mojolicious::Plugin::Mojolyst is a Mojolicious plugin to hijack the + Mojolicious router and turn it into a more Catalyst-ish decentralized + one. + +METHODS + Mojolicious::Plugin::Mojolyst inherits all methods from + Mojolicious::Plugin and implements the following new ones. + + register + $plugin->register(Mojolicious->new); + + Register plugin in Mojolicious application. + +SEE ALSO + Mojolicious, Mojolicious::Guides, , + . +