Skip to content
Permalink
Browse files

Replaces Clumsy with Wizclumsy in namespaces

  • Loading branch information...
luisdiaswiz committed Mar 24, 2017
1 parent 398022d commit 2a811a14ad5c258a6d06d322a9dc0c5b07a05c8d
Showing with 6 additions and 6 deletions.
  1. +2 −2 readme.md
  2. +1 −1 src/Controller.php
  3. +1 −1 src/Sitemap.php
  4. +2 −2 src/SitemapServiceProvider.php
@@ -12,7 +12,7 @@ composer require clumsy/sitemap

In the `config/app.php` file, add this to the `providers` key:
```php
Clumsy\Sitemap\SitemapServiceProvider::class,
Wizclumsy\Sitemap\SitemapServiceProvider::class,
```

## Usage
@@ -82,7 +82,7 @@ return [

You can optionally edit the path of the `sitemap.php` file which will contain your URLs and attach middleware to the sitemap route by publishing the default config to your local app:
```
php artisan vendor:publish --provider="Clumsy\Sitemap\SitemapServiceProvider" --tag=config
php artisan vendor:publish --provider="Wizclumsy\Sitemap\SitemapServiceProvider" --tag=config
```

## Legacy
@@ -1,6 +1,6 @@
<?php
namespace Clumsy\Sitemap;
namespace Wizclumsy\Sitemap;
use ArrayAccess;
use Illuminate\Foundation\Application;
@@ -1,6 +1,6 @@
<?php
namespace Clumsy\Sitemap;
namespace Wizclumsy\Sitemap;
class Sitemap
{
@@ -1,6 +1,6 @@
<?php
namespace Clumsy\Sitemap;
namespace Wizclumsy\Sitemap;
use Illuminate\Support\ServiceProvider;
@@ -55,7 +55,7 @@ public function registerRoute()
$this->app['router']->get('sitemap.xml', [
'as' => 'clumsy.sitemap',
'middleware' => $this->app['config']->get('clumsy.sitemap.middleware'),
'uses' => '\Clumsy\Sitemap\Controller@render',
'uses' => '\Wizclumsy\Sitemap\Controller@render',
]);
}
}

0 comments on commit 2a811a1

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