Skip to content

Commit

Permalink
Merge pull request #21 from GrupaZero/KMS-150
Browse files Browse the repository at this point in the history
replace onfig with option
  • Loading branch information
MateuszUrbanowicz committed Nov 25, 2015
2 parents f970ebf + f772efe commit 6ac5ed6
Show file tree
Hide file tree
Showing 6 changed files with 187 additions and 133 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function index(Request $request)
['isSticky', 'DESC']
],
$request->get('page', 1),
config('gzero.defaultPageSize', 20)
option('general', 'defaultPageSize', 20)
);

$contents->setPath($request->url());
Expand Down

0 comments on commit 6ac5ed6

Please sign in to comment.