public function getIndex(Board $board) { $bans = Ban::getBans(Request::ip(), false); return $this->view(static::VIEW_BANNED, ['bans' => $bans]); }
public function getIndexForSelf(Board $board) { $bans = Ban::getBans(Request::ip(), false, false)->paginate(15); return $this->view(static::VIEW_BANS, ['bans' => $bans, 'clientOnly' => true]); }