Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera
Created May 23, 2018 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uno-de-piera/b917ca886289fb7a0d8eae412269d9c2 to your computer and use it in GitHub Desktop.
Save uno-de-piera/b917ca886289fb7a0d8eae412269d9c2 to your computer and use it in GitHub Desktop.
<?php
namespace App\Controllers;
use CodeIgniter\Controller;
/**
* Class DashboardController
* @package App\Controllers
*/
class DashboardController extends Controller
{
public function index() {
$data = ['nombre' => 'Iparra');
return view('dashboard', $data);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment