Skip to content

Commit

Permalink
request()->all
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Apr 25, 2017
1 parent 95602a4 commit 963a235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/stubs/resources/views/scaffold/create.blade.stub
Expand Up @@ -13,7 +13,7 @@
<div class="ln_solid"></div>
<div class="form-group">
{{ Form::submit('Submit', ['class' => 'btn btn-success']) }}
<a href="{{ route('dummyRoute.index', request()) }}" class="btn btn-default">Cancel</a>
<a href="{{ route('dummyRoute.index', request()->all()) }}" class="btn btn-default">Cancel</a>
</div>
{{ Form::close() }}
@endcomponent
Expand Down
2 changes: 1 addition & 1 deletion resources/stubs/resources/views/scaffold/edit.blade.stub
Expand Up @@ -13,7 +13,7 @@
<div class="ln_solid"></div>
<div class="form-group">
{{ Form::submit('Submit', ['class' => 'btn btn-success']) }}
<a href="{{ route('dummyRoute.index', request()) }}" class="btn btn-default">Cancel</a>
<a href="{{ route('dummyRoute.index', request()->all()) }}" class="btn btn-default">Cancel</a>
</div>
{{ Form::close() }}
@endcomponent
Expand Down

0 comments on commit 963a235

Please sign in to comment.