how to create custom slug #204
Unanswered
ostore-irani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi
this is controller code
`<?php
namespace App\Http\Controllers\back;
use App\Article;
use App\Category;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class ArticleController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
$articles = Article::orderBy('id' , 'DESC')->paginate(20);
return view('back.article.article' , compact('articles'));
}
}
`
EloquentModel not found
Beta Was this translation helpful? Give feedback.
All reactions