Fixed issue #1295
This commit is contained in:
parent
54e54918a7
commit
de1c00f15e
|
|
@ -77,9 +77,9 @@
|
|||
{!! __('admin::app.cms.pages.three-col') !!}
|
||||
|
||||
<div class="mt-10 mb-10" @submit.prevent="showModal('showHelpers')">
|
||||
<button class="btn btn-sm btn-primary">
|
||||
<a class="btn btn-sm btn-primary">
|
||||
{{ __('admin::app.cms.pages.helper-classes') }}
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<span class="control-error" v-if="errors.has('html_content')">@{{ errors.first('html_content') }}</span>
|
||||
|
|
|
|||
|
|
@ -75,6 +75,11 @@ use Webkul\Core\Repositories\LocaleRepository as Locale;
|
|||
'channel_id' => $currentChannel->id
|
||||
]);
|
||||
|
||||
if ($page) {
|
||||
return view('shop::cms.page')->with('page', $page);
|
||||
} else {
|
||||
abort(404);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue