Skip to content
Permalink
Browse files

Updated docs

  • Loading branch information...
tbuteler committed Aug 26, 2016
1 parent decd8e1 commit fa79c8d2d18111c4b0e46cc08f3311337052eda0
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.md
@@ -19,7 +19,7 @@ Clumsy\Sitemap\SitemapServiceProvider::class,

The package automatically creates a route to resolve http://example.com/sitemap.xml. If there are no URLs to insert on your `sitemap.xml` or an error occurs while parsing them, a `404` error will be thrown on that route.

In order to add URLs to your sitemap, add a `sitemap.php` file inside the `app/Http` folder of your Laravel app. Inside, return an array with the desired URLs. For example:
In order to add URLs to your sitemap, add a `sitemap.php` file inside the `routes` folder of your Laravel app. Inside, return an array with the desired URLs. For example:

```php
<?php

0 comments on commit fa79c8d

Please sign in to comment.
You can’t perform that action at this time.