Skip to content

Commit

Permalink
Fix namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
furic committed Nov 2, 2020
1 parent 7fc414c commit 2e8dcbd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/HouseAd.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App;
namespace Furic\HouseAds;

use Illuminate\Database\Eloquent\Model;

Expand Down
4 changes: 2 additions & 2 deletions src/HouseAdController.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace App\Http\Controllers;
namespace Furic\HouseAds;

use App\HouseAd;
use HouseAd;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

Expand Down
13 changes: 4 additions & 9 deletions src/HouseAdsServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Furic\RedeemCodes;
namespace Furic\HouseAds;

use Illuminate\Support\ServiceProvider;

Expand All @@ -15,12 +15,8 @@ public function boot()
{
$this->loadRoutesFrom(__DIR__.'/routes.php');
$this->loadMigrationsFrom(__DIR__.'/migrations');
$this->loadViewsFrom(__DIR__.'/views', 'redeemcodes');
$this->publishes([
__DIR__.'/views' => base_path('resources/views/furic/redeemcodes'),
]);
// $this->publishes([
// __DIR__ . '/../config/redeemcodes.php' => config_path('redeemcodes.php'),
// __DIR__ . '/../config/house-ads.php' => config_path('house-ads.php'),
// ]);
}

Expand All @@ -31,10 +27,9 @@ public function boot()
*/
public function register()
{
$this->app->make('furic\redeemcodes\RedeemCodeController');
$this->app->make('furic\redeemcodes\RedeemController');
$this->app->make('furic\houseads\HouseAdsController');
// $this->mergeConfigFrom(
// __DIR__ . '/../config/redeemcodes.php', 'redeemcodes'
// __DIR__ . '/../config/house-ads.php', 'house-ads'
// );
}
}

0 comments on commit 2e8dcbd

Please sign in to comment.