method _build_welcome_message { 'Welcome' }
- action base as '';
+ action base under '/' as '';
under base {
Roles
use CatalystX::Declare;
- controller_role MyApp::Web::ControllerRole::Bar {
+ component_role MyApp::Web::ControllerRole::Bar {
use MyApp::Types qw( Username );
}
DESCRIPTION
+ This module is EXPERIMENTAL
+
This module provides a declarative syntax for Catalyst applications. Its
main focus is currently on common and repetitious parts of the
application, such as the application class itself, controllers, and
controller MyApp::Web::Controller::Baz {
- final action qux {
+ final action qux under '/' {
$ctx->response->body(Foo->new->bar)
}
}