Class App\Articles not found
<p>I'm using Laravel 5.2 and I renamed my Model from "Articles" to "Article". I did the same for the class as well as the controller, but I am having an error in "show" method in my controller.</p>

<blockquote>
  <p>ReflectionException in Container.php line 738:</p>
</blockquote>

<p>Here is my controller:</p>

<pre><code>&lt;?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Requests\ArticleRequest;
use App\Http\Controllers\Controller;
use App\Article;
use App\User;
use App\Tag;
use Auth;

class ArticlesController extends Controller
{

public function __construct()
{
    $this-&gt;middleware('auth');
}

public function index()
{
    $articles = article::latest('created_at')-&gt;get();

    return view('articles.home', compact('articles'));
}

public function show(Article $article)
{
    return view('articles.show', compact('article'));
}

public function create()
{
    $tag = Tag::lists('name', 'id');

    return view('articles.create', compact('tag'));
}

public function store(ArticleRequest $request)
{
    $article = Auth::user()-&gt;article()-&gt;create($request-&gt;all());

    $article-&gt;tags()-&gt;attach($request-&gt;input('tags'));

    flash('Your Article Has Been Successfully Saved','Good Job');

    return redirect('articles');
}

public function edit(Article $articles)
{
    return view('articles.edit', compact('articles'));
}

public function update(Article $articles, ArticleRequest $request)
{
    $articles-&gt;update($request-&gt;all());

    return redirect('articles');
}

}
</code></pre>

<p>Here is my Model:</p>

<pre><code>&lt;?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Article extends Model
{
    protected $table = "articles";

    protected $fillable = [
        'title',
        'body',
        'published_at',
        'user_id'
    ];

    public function user()
    {
        return $this-&gt;belongsTo('App\User');
    }

    public function tags()
    {
        return $this-&gt;belongsToMany('App\Tag')-&gt;withTimestamps();
    }
}
</code></pre>

<p>Here is the route registered:</p>

<pre><code> Route::resource('articles','ArticlesController');
</code></pre>

<p>Finally Here's my show.blade.php:</p>

<pre><code>@extends('app')

@section('content')

&lt;h2&gt;{{ $article-&gt;title }}&lt;/h2&gt;

&lt;div class="body"&gt;
    &lt;p&gt;{{ $article-&gt;body }}&lt;/p&gt;
&lt;/div&gt;

@stop
</code></pre>