I'm having issues with Controller Routes. I'm making a Controller addon and want to route a page to it so I have this in my site routes files:
routes:
stripe: [email protected]
/store: /!/stripe-controller/store
Neither of these routes work as I expect. The first one returns a 404 and the second one returns my default layout with no content in.
I'm assuming this means the second route is working and calling this function:
public function store(Request $request)
{
return $this->view('payment');
}
However I'd expect to see the contents of the /resources/views/payment.blade file here and nothing is rendering.
` @extends('layout')
@section('content')
Content!
@endsection
`
Any help would be really appreciated
Trudi