mirror of
https://repo.getmonero.org/AnonDev/xmrmemes.git
synced 2025-05-07 12:14:56 -04:00
Finish SEO
This commit is contained in:
parent
d5a3175bea
commit
58fb2d2834
9 changed files with 159 additions and 12 deletions
|
@ -4,6 +4,7 @@ namespace App\Http\Controllers;
|
|||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\Meme;
|
||||
use Artesaos\SEOTools\Facades\SEOTools;
|
||||
|
||||
class DashboardController extends Controller
|
||||
{
|
||||
|
@ -24,6 +25,7 @@ class DashboardController extends Controller
|
|||
*/
|
||||
public function index()
|
||||
{
|
||||
SEOTools::setTitle('Dashboard');
|
||||
if (\Auth::user()->is_admin === 1) {
|
||||
$memes_pending = Meme::withoutGlobalScope('approved')->where('is_approved', 0)->get();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue