public function index() { $this->view->breadcrumbs = ['tags' => 'Tags']; $this->view->title = 'Tags'; $this->view->tags = \App\Model\Tag::orderBy('name')->get(); return $this->view; }
/** * Display a listing of the resource. * * @return Response */ public function index() { // return backendView('index', ['tags' => Tag::orderBy('id', 'desc')->paginate(10)]); }