skylar01128's avatar

Test


namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use App\Event;

class WelcomeController extends Controller
{

  public function index () {
    return view ('Delta.Index');
  }

  public function help () {
    //return view('Delta.Help');
    $event = Event::all();
    return View ('Delta.Help')->with('event', $event);
  }

  public function show ($id) {
    $event = Event::FindOrFail($id);

  }
}
?>
0 likes
5 replies
milon's avatar

May I ask, why you put the closing ?> php tag?

skylar01128's avatar

I'm so sorry for all of the confusion! I was testing how my code would be displayed on the thread.

Please or to participate in this conversation.