diff --git a/blueprint.sh b/blueprint.sh index efd2d5eb..c18c5579 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -1218,7 +1218,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD=" -e "s~\[webicon\]~$websiteiconclass~g" \ "$AdminBladeConstructor" fi - echo -e "\n@endsection\n@yield('extension.script')" >> "$AdminBladeConstructor" + echo -e "$(<.blueprint/tmp/"$n"/"$admin_view")\n@endsection" >> "$AdminBladeConstructor" # Construct admin route sed -i "s~\[id\]~$identifier~g" "$AdminRouteConstructor" diff --git a/resources/views/blueprint/admin/template.blade.php b/resources/views/blueprint/admin/template.blade.php index 9130c135..b11ec93b 100644 --- a/resources/views/blueprint/admin/template.blade.php +++ b/resources/views/blueprint/admin/template.blade.php @@ -93,7 +93,7 @@ @endsection -@section('extension.script') +@section('footer-scripts') @parent