Skip to content

Commit

Permalink
Released version 0.01
Browse files Browse the repository at this point in the history
 - Initial release based on kraih's Mojolicious hack of the day: Mojolyst
  • Loading branch information
Stefan Adams committed Apr 24, 2017
1 parent ec0bb18 commit b98a95c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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
38 changes: 38 additions & 0 deletions 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, <http://mojolicious.org>,
<http://blog.mojolicious.org/post/157278582436/mojolicious-hack-of-the-d
ay-mojolyst>.

0 comments on commit b98a95c

Please sign in to comment.