Skip to content

Commit

Permalink
Add a note about KelpX::Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrtj committed Jul 8, 2024
1 parent 35a5afb commit 7bac065
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/Kelp/Manual/Controllers.pod
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ You no longer have to prefix destinations with the base controller class name.
While reblessing is how core Kelp deals with controllers, it is entirely
possible to introduce your own base controller classes. Most of the details
remain the same, like setting C<rebless> and C<base> configuration, but your
main controller class does not have to inherit from your app class:
main controller class does not have to inherit from your app class.

Below is a guide on how to implement that from scratch. Alternatively,
L<KelpX::Controller> module may be used, which comes with pre-implemented
custom base controller and context classes.

=head3 Step 1: Custom Context object

Expand Down

0 comments on commit 7bac065

Please sign in to comment.