File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ protected function publishRouteDefinition(): void
184184 $ routeFile = base_path ('routes/web.php ' );
185185
186186 // Check file exists and contains the definition
187- if (file_exists ($ routeFile ) && ! Str::contains (file_get_contents ($ routeFile ), 'InspireCms::routes() ' )) {
187+ if (file_exists ($ routeFile ) && ! Str::contains (file_get_contents ($ routeFile ), 'InspireCms::routes(); ' )) {
188188 // Append at the end of the file
189189 file_put_contents ($ routeFile , PHP_EOL . $ this ->cmsRouteDefinition (), FILE_APPEND );
190190 }
@@ -202,6 +202,6 @@ protected function createSymlink(): void
202202
203203 protected function cmsRouteDefinition (): string
204204 {
205- return '\SolutionForest\InspireCms\Facades\InspireCms::routes() ' ;
205+ return '\SolutionForest\InspireCms\Facades\InspireCms::routes(); ' ;
206206 }
207207}
You can’t perform that action at this time.
0 commit comments