| Total Complexity | 6 | 
| Total Lines | 44 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class LineController extends SquantoLineController  | 
            ||
| 9 | { | 
            ||
| 10 | use AuthorizesRequests;  | 
            ||
| 11 | |||
| 12 | public function index()  | 
            ||
| 13 |     { | 
            ||
| 14 |         $this->authorize('view-squanto'); | 
            ||
| 15 | |||
| 16 | return parent::index();  | 
            ||
| 17 | }  | 
            ||
| 18 | |||
| 19 | public function create($page_id = null)  | 
            ||
| 20 |     { | 
            ||
| 21 |         $this->authorize('create-squanto'); | 
            ||
| 22 | |||
| 23 | return parent::create($page_id);  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | public function store(Request $request)  | 
            ||
| 27 |     { | 
            ||
| 28 |         $this->authorize('create-squanto'); | 
            ||
| 29 | |||
| 30 | return parent::store($request);  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | public function edit($id)  | 
            ||
| 34 |     { | 
            ||
| 35 |         $this->authorize('update-squanto'); | 
            ||
| 36 | |||
| 37 | return parent::edit($id);  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 40 | public function update(Request $request, $id)  | 
            ||
| 41 |     { | 
            ||
| 42 |         $this->authorize('update-squanto'); | 
            ||
| 43 | |||
| 44 | return parent::update($request, $id);  | 
            ||
| 45 | }  | 
            ||
| 46 | |||
| 47 | public function destroy($id)  | 
            ||
| 48 |     { | 
            ||
| 49 |         $this->authorize('delete-squanto'); | 
            ||
| 50 | |||
| 51 | return parent::destroy($id);  | 
            ||
| 52 | }  | 
            ||
| 54 |