Skip to content

Commit

Permalink
Update uses.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Sep 3, 2014
1 parent fb8bc8f commit 447c935
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/View/Theme/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class Container
* or whenever we need to overwrite current active theme per request.
*
* @param \Illuminate\Container\Container $app
* @param string $name
*/
public function __construct(Application $app)
{
Expand Down
6 changes: 4 additions & 2 deletions src/View/ViewServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php namespace Orchestra\View;

use Illuminate\Support\ServiceProvider;
use Orchestra\View\Theme\Finder;
use Orchestra\View\Theme\ThemeManager;

class ViewServiceProvider extends ServiceProvider
{
Expand Down Expand Up @@ -37,11 +39,11 @@ protected function registerViewFinder()
protected function registerTheme()
{
$this->app->bindShared('orchestra.theme', function ($app) {
return new Theme\ThemeManager($app);
return new ThemeManager($app);
});

$this->app->bindShared('orchestra.theme.finder', function ($app) {
return new Theme\Finder($app);
return new Finder($app);
});
}

Expand Down

0 comments on commit 447c935

Please sign in to comment.