Skip to content

Commit

Permalink
trying something
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Viebrock committed Oct 7, 2014
1 parent 91046eb commit 0c000f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Cviebrock/LaravelNewsSitemap/NewsSitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class NewsSitemap {
private $view;


public function __construct($config, Cache $cache, Response $response, View $view) {
$this->config = $config;
public function __construct(Cache $cache, Response $response, View $view) {
$this->config = \Config::get('news-sitemap::config');
$this->cache = $cache;
$this->response = $response;
$this->view = $view;
Expand Down
4 changes: 2 additions & 2 deletions src/Cviebrock/LaravelNewsSitemap/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public function boot() {
public function register() {

$this->app->bind('news-sitemap', function ($app) {
$config = $app['config']->get('news-sitemap::config');
// $config = $app['config']->get('news-sitemap::config');

return new NewsSitemap($config);
return new NewsSitemap();
});
}

Expand Down

0 comments on commit 0c000f5

Please sign in to comment.