Skip to content

Commit

Permalink
Merge pull request #23 from Dev-Force/master
Browse files Browse the repository at this point in the history
layout fixes
  • Loading branch information
sylviot committed Oct 2, 2015
2 parents 73318f0 + eba5fb1 commit db241ae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Makes/MakeLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(ScaffoldMakeCommand $scaffoldCommand, Filesystem $fi
protected function start()
{

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

Expand Down
2 changes: 1 addition & 1 deletion src/stubs/html_assets/create.stub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('app')
@extends('layout')

@section('content')
<div class="page-header">
Expand Down
2 changes: 1 addition & 1 deletion src/stubs/html_assets/edit.stub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('app')
@extends('layout')

@section('content')
<div class="page-header">
Expand Down
2 changes: 1 addition & 1 deletion src/stubs/html_assets/index.stub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('app')
@extends('layout')

@section('content')
<div class="page-header clearfix">
Expand Down
2 changes: 1 addition & 1 deletion src/stubs/html_assets/show.stub
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@extends('app')
@extends('layout')

@section('content')
<div class="page-header">
Expand Down

0 comments on commit db241ae

Please sign in to comment.