Kommentaranzeige.

This commit is contained in:
daniel committed 2015-10-21 07:29:08 +02:00
1 parent 0de0eefa37
commit 5d472e3246
3 files changed
+83 -74

No files matched your search

+1 -1
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);
}
}