Travel Guide Frontend Backend
This commit is contained in:
parent
e6cc042aee
commit
0857a34766
681 changed files with 6680 additions and 1689 deletions
|
|
@ -20,11 +20,7 @@ class CMSFeedbackController extends Controller
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the application dashboard.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
|
||||
public function index()
|
||||
{
|
||||
$data = [
|
||||
|
|
@ -36,7 +32,7 @@ class CMSFeedbackController extends Controller
|
|||
|
||||
public function detail($id)
|
||||
{
|
||||
if($id == "new") {
|
||||
if($id === "new") {
|
||||
$feedback = new Feedback();
|
||||
$id = 'new';
|
||||
$feedback->status = 1;
|
||||
|
|
@ -57,7 +53,7 @@ class CMSFeedbackController extends Controller
|
|||
public function store($id)
|
||||
{
|
||||
$data = Request::all();
|
||||
if($id == "new") {
|
||||
if($id === "new") {
|
||||
|
||||
if(!isset($data['feedback_parent']) && !$data['feedback_parent']) {
|
||||
abort(404);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue