| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function register() |
||
| 14 | { |
||
| 15 | if ($this->shouldRegisterFileContentsRoute()) { |
||
| 16 | Route::prefix('ignition-code-editor')->group(function () { |
||
| 17 | Route::get('file-contents', FileContentsController::class); |
||
| 18 | Route::put('file-contents', SaveFileContentController::class); |
||
| 19 | }); |
||
| 20 | } |
||
| 21 | } |
||
| 22 | |||
| 41 |