Skip to content

Instantly share code, notes, and snippets.

@mateusgf
Created July 26, 2013 14:39
Show Gist options
  • Save mateusgf/6089363 to your computer and use it in GitHub Desktop.
Save mateusgf/6089363 to your computer and use it in GitHub Desktop.
// No model question.php
public static function unsolved() {
return static::where('solved','=',0)->order_by('id', 'DESC')->paginate(3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment