Skip to content

Commit da54a20

Browse files
committed
fix core views: Admin view contents were not being added to view file for some reason
1 parent b13726f commit da54a20

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

blueprint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
12181218
-e "s~\[webicon\]~$websiteiconclass~g" \
12191219
"$AdminBladeConstructor"
12201220
fi
1221-
echo -e "\n@endsection\n@yield('extension.script')" >> "$AdminBladeConstructor"
1221+
echo -e "$(<.blueprint/tmp/"$n"/"$admin_view")\n@endsection" >> "$AdminBladeConstructor"
12221222

12231223
# Construct admin route
12241224
sed -i "s~\[id\]~$identifier~g" "$AdminRouteConstructor"

resources/views/blueprint/admin/template.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</div>
9494
@endsection
9595

96-
@section('extension.script')
96+
@section('footer-scripts')
9797
@parent
9898
<script>
9999
$('.pOptions').select2();

0 commit comments

Comments
 (0)