Support the ongoing development of Laravel.io →
posted 9 years ago
Requests
Last updated 2 years ago.
0

I solved this issue. The new controller that I made in Laravel 5 had a few differences than the one I ported from Laravel 4. These 4 lines were different.

  • namespace App\Http\Controllers;
  • use App\Http\Requests;
  • use App\Http\Controllers\Controller;
  • use Illuminate\Http\Request;

I removed namespace App\Http\Controllers; and use App\Http\Controllers\Controller; Now it can see the controller.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

scrfix scrfix Joined 16 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.