Support the ongoing development of Laravel.io →
posted 10 years ago
Views
Last updated 2 years ago.
0

try the following:

        $title   = 'Languages';
        $dataset = Language::orderBy('id','desc')->paginate(10);

        return View::make('backend.languages.grid', compact('title', 'languages'));

I haven't used with with View before. I think it is for Redirect only.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ntanas72 ntanas72 Joined 12 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.