Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Mojolicious::Controller;
- sub forward {
- my ($self, $method, $path) = @_;
- $self->stash->{path} = $path;
- $self->req->{method} = uc($method);
- return $self->app->routes->dispatch($self);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement