Created
October 18, 2014 15:52
-
-
Save YuriFontella/4cd74a77d824bdd7c85e to your computer and use it in GitHub Desktop.
Controller dentro do diretório modules
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
<?php | |
namespace Admin; | |
class Controller_Vendas extends \Controller_Rest { | |
//Chamando uma function de outro module | |
public function get_fornecedores() { | |
$data = \Request::forge('fornecedores/vendas/consultar')->execute(); | |
echo $data; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment