mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2025-05-13 15:02:11 -04:00
Finish SEO
This commit is contained in:
parent
d5a3175bea
commit
58fb2d2834
9 changed files with 159 additions and 12 deletions
|
@ -4,11 +4,13 @@ namespace App\Http\Controllers;
|
|||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Meme;
|
||||
use Artesaos\SEOTools\Facades\SEOTools;
|
||||
|
||||
class ApiController extends Controller
|
||||
{
|
||||
public function documentation()
|
||||
{
|
||||
SEOTools::setTitle('API');
|
||||
$data = [
|
||||
'memes_example' => json_encode(Meme::limit(1)->get(), JSON_PRETTY_PRINT),
|
||||
'memes_endpoint' => url('api/memes'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue