decodeKeys(); $this->study = Study::findOrFail($this->key); return $this->study; } protected function lockedNotice() { return view('content.pages.notice', [ 'title' => 'Study Locked', 'color' => 'danger', 'heading' => 'Study Locked', 'message' => 'Study metadata cannot be edited once the report has been finalized.', ]); } }