Skip to content

Featureadmin#6

Open
minhquanghapo wants to merge 2 commits intoTeacherStudentActionfrom
featureadmin
Open

Featureadmin#6
minhquanghapo wants to merge 2 commits intoTeacherStudentActionfrom
featureadmin

Conversation

@minhquanghapo
Copy link
Owner

No description provided.

'success' => 'Successfully',
'student' => $student,
]);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nhiều biến thì truyền tất cả bằng mảng $data đi

]);
if($validator->fails()) {
return back()->withErrors($validator)->withInput();
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chỗ này sao không tách ra thành form request riêng

public function build()
{
return $this->view('emails/student-verification');
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dùng . thay cho /

</form>
</div>
<div class="col-md-3">
<a href="{{route('admin.student.info-student', ['id' => $student->id])}}" class="btn btn-success"> BACK</a>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chỗ này truyền param thì chỉ cần $student->id thôi chứ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments