Created
September 19, 2016 15:46
-
-
Save anonymous/565b0058d643c19b523d27eb6a756889 to your computer and use it in GitHub Desktop.
CRUD com AngularJS e CodeIgniter - Controller Templates
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 | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Templates extends CI_Controller { | |
public function view($view) | |
{ | |
$this->load->view('templates/'.$view); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment