Created
December 27, 2014 08:24
-
-
Save eviltik/16439b7c34296afcd3b7 to your computer and use it in GitHub Desktop.
mojolicious: directory and routes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've got | |
myProject | |
|- conf | |
|- lib | |
| |- myProject | |
| | |- Webservice | |
| | |- User.pm | |
| |- myProject.pm | |
|- public | |
|- script | |
|- t | |
|- templates | |
Wondering the correct route path to access to User.pm ? | |
Bad answer is $routes->post('/ws/1.0/user/login')->to('webservice#user#login'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(One of) good answer is