First of all, I'm new to frameworks. Now i used the oil 'command line' to generate the controllers, models, views, and added sample contents to test it.
php oil g scaffold statuses content:text category_id:string
php oil r migrate
Now I inserted a couple of dummy contents into the database, and I wanted to paginate it using the FuelPHP Pagination Class. But the problem is, how do I integrate it (Where to insert the codes)? Here's my current controller.