Kommentaranzeige.

This commit is contained in:
2015-10-21 07:29:08 +02:00
parent 0de0eefa37
commit 5d472e3246
3 changed files with 83 additions and 74 deletions

View File

@@ -12,6 +12,6 @@ class Comment extends Eloquent {
}
public function scopeNeueste($query) {
return $query->orderBy('updated_at', 'DESC')->where('bewertung', '<', 1)->take(5);
return $query->orderBy('updated_at', 'DESC')->take(7);
}
}