108 public function edit($stream_id)
110 return view('stream.edit')->with(['stream'=> $this->getStreamObject($stream_id)]);
...
118 public function save(StreamUpdateRequest $request, $stream_id)
123 StreamService::updateStream($request, $stream);
app/Services/Stream/StreamService.php is also hooked
55 public static function updateStream(Request $request, Stream $stream)
59 if (!$request->has('approved')) {
60 $stream_data['approved'] = "0";
63 Stream::where('id', $stream->id)->update($stream_data);
PoC
routes/web.php has only "logged-in" restriction
app/Http/Controllers/StreamController.php treated methods
app/Services/Stream/StreamService.php is also hooked