Skip to content

Commit db241ae

Browse files
committed
Merge pull request #23 from Dev-Force/master
layout fixes
2 parents 73318f0 + eba5fb1 commit db241ae

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Makes/MakeLayout.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(ScaffoldMakeCommand $scaffoldCommand, Filesystem $fi
2727
protected function start()
2828
{
2929

30-
if ($this->files->exists($path_resource = $this->getPathResource('layout'))) {
30+
if ($this->files->exists($path_resource = $this->getPathResource())) {
3131
if ($this->scaffoldCommandObj->confirm($path_resource . ' already exists! Do you wish to overwrite? [yes|no]')) {
3232
$this->putViewLayout($path_resource);
3333

src/stubs/html_assets/create.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@extends('app')
1+
@extends('layout')
22

33
@section('content')
44
<div class="page-header">

src/stubs/html_assets/edit.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@extends('app')
1+
@extends('layout')
22

33
@section('content')
44
<div class="page-header">

src/stubs/html_assets/index.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@extends('app')
1+
@extends('layout')
22

33
@section('content')
44
<div class="page-header clearfix">

src/stubs/html_assets/show.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@extends('app')
1+
@extends('layout')
22

33
@section('content')
44
<div class="page-header">

0 commit comments

Comments
 (0)