| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php namespace App\Http\Controllers\Frontend; |
||
| 11 | class BasicController extends Controller |
||
| 12 | { |
||
| 13 | public function index() |
||
| 14 | { |
||
| 15 | $populairProducts = ProductTagGroupService::selectAllByTagAndShopId(config()->get('app.shop_id'), 'home-populair'); |
||
| 16 | return view('frontend.basic.index')->with(array('populairProducts' => $populairProducts)); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getContact() |
||
| 20 | { |
||
| 21 | return view('frontend.basic.contact'); |
||
| 22 | } |
||
| 23 | |||
| 24 | public function postContact(Request $request) |
||
| 46 | } |
||
| 47 | } |