Skip to content

Commit

Permalink
chqnge namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Lefebvre committed Apr 5, 2018
1 parent 4676d35 commit 3d33647
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Console/PlanEmailNews.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Illuminate\Console\Command;
use Gwaps4nlp\NewsManager\Models\News;
use Gwaps4nlp\NewsManager\Models\ScheduledEmailNews;
use Gwaps4nlp\Models\User;
use Gwaps4nlp\Core\Models\User;
use DB,App;

class PlanEmailNews extends Command
Expand Down
2 changes: 1 addition & 1 deletion src/Console/SendNews.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Console\Command;
use Gwaps4nlp\NewsManager\Models\News;
use App\Models\User;
use Gwaps4nlp\Core\Models\User;
use Gwaps4nlp\NewsManager\Models\ScheduledEmailNews;
use DB;
use Mail;
Expand Down
4 changes: 2 additions & 2 deletions src/Models/News.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class News extends Model
*/
public function language()
{
return $this->belongsTo('Gwaps4nlp\Models\Language');
return $this->belongsTo('Gwaps4nlp\Core\Models\Language');
}

/**
Expand All @@ -37,7 +37,7 @@ public function language()
*/
public function users()
{
return $this->belongsToMany('Gwaps4nlp\Models\User')->withPivot('seen');
return $this->belongsToMany('Gwaps4nlp\Core\Models\User')->withPivot('seen');
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/NewsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
use Illuminate\Http\Request;
use Gwaps4nlp\NewsManager\Requests\NewsRequest;
use Gwaps4nlp\NewsManager\Models\News;
use Gwaps4nlp\Models\User;
use Gwaps4nlp\Core\Models\User;
use Gwaps4nlp\NewsManager\Requests\NewsCreateRequest;
use App\Http\Controllers\Controller;
use Gwaps4nlp\Repositories\LanguageRepository;
use Gwaps4nlp\Core\Controller;
use Gwaps4nlp\Core\Repositories\LanguageRepository;
use Gwaps4nlp\NewsManager\Repositories\NewsRepository;


Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/NewsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Gwaps4nlp\NewsManager\Repositories;

use Gwaps4nlp\Repositories\BaseRepository;
use Gwaps4nlp\Core\Repositories\BaseRepository;
use Gwaps4nlp\NewsManager\Models\News;
use Config;

Expand Down

0 comments on commit 3d33647

Please sign in to comment.