Ado
view release on metacpan or search on metacpan
lib/Ado/Control/Default.pm view on Meta::CPAN
package Ado::Control::Default;
use Mojo::Base 'Ado::Control';
##no critic (ProhibitBuiltinHomonyms)
sub index {
return shift->render();
}
sub form {
my $c = shift;
$c->render(text => __PACKAGE__ . '::form');
return;
}
1;
=pod
=encoding utf8
=head1 NAME
Ado::Control::Ado::Default - The default controller for the site.
=head1 SYNOPSIS
#in your browser go to
http://your-host/default/index
#or
http://your-host/default
#or
http://your-host/
=head1 DESCRIPTION
Ado::Control::Default is the default controller class.
=head1 ATTRIBUTES
Ado::Control::Default inherits all the attributes from
<Ado::Control> and defines the following ones.
=head1 METHODS/ACTIONS
L<Ado::Control::Default> inherits all the methods from
L<Ado::Control> and defines the following ones.
=head2 index
C<index> is the default action.
=head2 form
The form action.
=head1 SPONSORS
The original author
=head1 SEE ALSO
L<Ado::Control::Ado>,
L<Ado::Control>, L<Mojolicious::Controller>, L<Mojolicious::Guides::Growing/Model_View_Controller>,
L<Mojolicious::Guides::Growing/Controller_class>
=head1 AUTHOR
ÐÑаÑÐ¸Ð¼Ð¸Ñ ÐеÑов (Krasimir Berov)
=head1 COPYRIGHT AND LICENSE
Copyright 2013-2014 ÐÑаÑÐ¸Ð¼Ð¸Ñ ÐеÑов (Krasimir Berov).
This program is free software, you can redistribute it and/or
modify it under the terms of the
GNU Lesser General Public License v3 (LGPL-3.0).
You may copy, distribute and modify the software provided that
modifications are open source. However, software that includes
( run in 0.597 second using v1.01-cache-2.11-cpan-39bf76dae61 )