This commit is contained in:
Prashant Singh 2019-08-14 13:49:04 +05:30
parent 54e54918a7
commit de1c00f15e
2 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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);
}
}
}