• This project
    • Loading...
  • Sign in

Yashvant Singh / laravel--

Imgpsh fullsize
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • laravel--
  • app
  • Http
  • Controllers
  • TagController.php
  • Alexey Mezenin's avatar
    Init commit · 7f37d09b
    7f37d09b
    Alexey Mezenin authored 4 years ago
TagController.php 207 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

namespace App\Http\Controllers;

use App\Models\Tag;

class TagController extends Controller
{
    public function index(Tag $tag): array
    {
        return ['tags' => $tag->pluck('name')];
    }
}