Skip to content

Commit

Permalink
Merge pull request #27 from SeleneSoftware/sitemap-fun
Browse files Browse the repository at this point in the history
Sitemap fun
  • Loading branch information
psion authored Sep 4, 2023
2 parents ff73f34 + aaac12b commit d37dc64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "selenesoftware/cms-bundle",
"type": "symfony-bundle",
"version": "0.0.7",
"version": "0.0.8",
"description": "CMS platform for Symfony",
"homepage": "https://github.com/SeleneSoftware/seleneCMSBundle",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/EventSubscriber/SitemapSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function registerImageUrls(UrlContainerInterface $urls): void
$decoratedUrl = new GoogleImageUrlDecorator($url);

foreach ($images as $i) {
$decoratedUrl->addImage(new GoogleImage($i->getImageFile()));
$decoratedUrl->addImage(new GoogleImage($url.$i->getImageFile()));
}

$urls->addUrl($decoratedUrl, 'images');
Expand Down
1 change: 1 addition & 0 deletions src/Form/RegistrationFormType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder
->add('email')
->add('name')
->add('agreeTerms', CheckboxType::class, [
'mapped' => false,
'constraints' => [
Expand Down

0 comments on commit d37dc64

Please sign in to comment.