Skip to content

Commit

Permalink
Salve error in namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
amrfayad committed Jul 31, 2016
1 parent 0e6c640 commit 04b658c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/MailTrackerController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace amrfayad\amrfayad\CampaignMailTracker;
namespace amrfayad\CampaignMailTracker;

use Illuminate\Http\Request;
use Response;
Expand All @@ -9,8 +9,8 @@
use App\Http\Requests;
use App\Http\Controllers\Controller;

use amrfayad\amrfayad\CampaignMailTracker\Events\ViewEmailEvent;
use amrfayad\amrfayad\CampaignMailTracker\Events\LinkClickedEvent;
use amrfayad\CampaignMailTracker\Events\ViewEmailEvent;
use amrfayad\CampaignMailTracker\Events\LinkClickedEvent;

class MailTrackerController extends Controller
{
Expand Down
4 changes: 2 additions & 2 deletions src/MailTrackerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public function boot()
// Publish pieces
if (!$this->isLumen()) {
$this->publishes([
__DIR__.'/../config/campaign-mail-tracker.php' => config_path('campaign-mail-tracker.php')
__DIR__.'/../config/campaigns-mail-tracker.php' => config_path('campaigns-mail-tracker.php')
], 'config');
$this->publishes([
__DIR__.'/../migrations/2016_03_01_193027_create_sent_emails_table.php' => database_path('migrations/2016_03_01_193027_create_sent_emails_table.php')
], 'config');
}

// Hook into the mailer
$this->app['mailer']->getSwiftMailer()->registerPlugin(new MailTracker());
//$this->app['mailer']->getSwiftMailer()->registerPlugin(new MailTracker());

// Install the routes
$config = $this->app['config']->get('campaign-mail-tracker.route', []);
Expand Down
2 changes: 1 addition & 1 deletion src/Model/SentEmail.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace amrfayad\MailTracker\Model;
namespace amrfayad\CampaignMailTracker\Model;

use Illuminate\Database\Eloquent\Model;

Expand Down

0 comments on commit 04b658c

Please sign in to comment.