mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fix artisan:route issue (#3149)
This commit is contained in:
parent
c6e1658ffe
commit
104e8728c2
@ -75,14 +75,13 @@ class ActivityController extends BaseController
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
$default_activities = $request->has('rows') ? $request->input('rows') : 50;
|
||||
|
||||
$default_activities = isset($request->input('rows')) ? $request->input('rows') : 50;
|
||||
$activities = Activity::orderBy('created_at', 'DESC')->company()
|
||||
->take($default_activities);
|
||||
|
||||
|
||||
return $this->listResponse($activities);
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user