KES777 / mojo

Mojolicious - Perl real-time web framework
http://mojolicio.us
Artistic License 2.0
0 stars 0 forks source link

Why route matching requires $c? #6

Open KES777 opened 7 years ago

KES777 commented 7 years ago

The method: http://mojolicious.org/perldoc/Mojolicious/Routes/Match#find

requires $c, but we setup controller when define route

->to( 'user#show' )

so controller should not be required by find