Created
July 31, 2015 01:58
-
-
Save jasonmccallister/dfd96ad758e9cbcfe8d4 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
/** | |
* Register site routes. | |
* | |
* @return array | |
*/ | |
public function registerSiteRoutes() | |
{ | |
return array( | |
'api' => array( | |
'action' => 'api/index' | |
), | |
'api/entries' => array( | |
'action' => 'api/entries/all' | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment