@@ -22,9 +22,9 @@ |
||
| 22 | 22 | { |
| 23 | 23 | $data_grid = $this->getCompanyFollowFromDB(); |
| 24 | 24 | |
| 25 | - $columns="['id', 'symbol', 'name', 'lastPrice', 'change', 'volume', 'open']"; |
|
| 25 | + $columns = "['id', 'symbol', 'name', 'lastPrice', 'change', 'volume', 'open']"; |
|
| 26 | 26 | |
| 27 | - return view('live_info', ['data_grid' => $data_grid, 'columns'=> $columns]); |
|
| 27 | + return view('live_info', [ 'data_grid' => $data_grid, 'columns'=> $columns ]); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -Route::get('/', function () { |
|
| 14 | +Route::get('/', function() { |
|
| 15 | 15 | return view('welcome'); |
| 16 | 16 | }); |
| 17 | 17 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * Route Calculator |
| 28 | 28 | */ |
| 29 | 29 | Route::get('calc', 'CalculatorController@index'); |
| 30 | -Route::get('calc/history','CalculatorHistoryController@index'); |
|
| 30 | +Route::get('calc/history', 'CalculatorHistoryController@index'); |
|
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Route In live |