Skip to content

Commit

Permalink
Read the dropzone post url from the Asgard global object
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Dec 2, 2015
1 parent 27c8a2b commit cd5bc03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/layouts/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<script>
var Asgard = {
backendUrl: '{{ config('asgard.core.core.admin-prefix') }}',
mediaGridCkEditor : '{{ route('media.grid.ckeditor') }}'
mediaGridCkEditor : '{{ route('media.grid.ckeditor') }}',
dropzonePostUrl: '{{ route('api.media.store') }}'
};
</script>
@section('styles')
Expand Down

0 comments on commit cd5bc03

Please sign in to comment.