replace manual json headers with laravel response()->json()
better Carbon dependency rename admin.nodes.configuration-token route style fixes
This commit is contained in:
parent
67bb8fe230
commit
9f2ca17ea4
5 changed files with 8 additions and 11 deletions
|
@ -502,7 +502,7 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
$('#configTokenBtn').on('click', function (event) {
|
||||
$.getJSON('{{ route('admin.nodes.configurationtoken', $node->id) }}')
|
||||
$.getJSON('{{ route('admin.nodes.configuration-token', $node->id) }}')
|
||||
.done(function (data) {
|
||||
swal({
|
||||
type: 'success',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue