Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class ExchangeController extends Controller |
||
10 | { |
||
11 | /** |
||
12 | * Create a new controller instance. |
||
13 | */ |
||
14 | public function __construct() |
||
15 | { |
||
16 | $this->middleware('auth'); |
||
17 | $this->middleware('can.admin'); |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * Display a listing of the resource. |
||
22 | * |
||
23 | * @return \Illuminate\Http\Response |
||
24 | */ |
||
25 | public function index(ExchangeRegistry $exchangeLogger) |
||
32 | } |
||
33 | } |
||
34 |