Skip to content

Commit

Permalink
dont use private method in product controller
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Mar 21, 2019
1 parent 40b52e9 commit a8b2a6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function detailAction(Request $request)
*
* @return DataObject\Concrete
*/
private function getProductByRequest(Request $request)
protected function getProductByRequest(Request $request)
{
return $this->get('coreshop.repository.stack.purchasable')->find($request->get('product'));
}
Expand Down

0 comments on commit a8b2a6f

Please sign in to comment.