title: Class 'App\Http\Controllers\rimdetails' not found?
body: <p>I have created a laravel project with Rims and tyres. when clicking a Rim from the index page, i would like to link directly to a rim detail page, like a productdetails page based on the clicked product.</p>
  <p>So far, it seems that my route and blade files are fine! but i have no idea how to make the controller function. i have tried with:</p>
  <pre><code>    public function show($id)
      {
          $rimdetails = rimdetails::with('rimdetails')-&gt;findOrFail($id);
          return View::make('rimdetails', compact($rimdetails));
      }
  </code></pre>
  <p>and getting the error :
  Class 'App\Http\Controllers\rimdetails' not found</p>