replace url to route
This commit is contained in:
		| @@ -10,7 +10,7 @@ | ||||
|                     <i class="fas fa-file-image display-3"></i> | ||||
|                 @else | ||||
|                     <a href="#" class="avatar"> | ||||
|                         <img src="{{ url('uploads/' . $file->id) }}" alt="{{ $file->basename }}"> | ||||
|                         <img src="{{ route('uploads.get', $file->id) }}" alt="{{ $file->basename }}"> | ||||
|                     </a> | ||||
|                 @endif | ||||
|             </div> | ||||
| @@ -37,7 +37,7 @@ | ||||
|                     @endif | ||||
|                 @endpermission | ||||
|  | ||||
|                 <a href="{{ url('uploads/' . $file->id . '/download') }}" type="button" class="btn btn-sm btn-info text-white header-button-top"> | ||||
|                 <a href="{{ rotue('uploads.download', $file->id) }}" type="button" class="btn btn-sm btn-info text-white header-button-top"> | ||||
|                     <i class="fas fa-file-download"></i> | ||||
|                 </a> | ||||
|             </div> | ||||
|   | ||||
| @@ -67,7 +67,7 @@ | ||||
|                             '<div v-if="form.loading" class="aka-loader-frame"><div class="aka-loader"></div></div> <span v-if="!form.loading" class="btn-inner--icon"><i class="fas fa-save"></i></span>' . '<span v-if="!form.loading" class="btn-inner--text"> ' . trans('general.save') . '</span>', | ||||
|                                 [':disabled' => 'form.loading', 'type' => 'submit', 'class' => 'btn btn-icon btn-success button-submit header-button-top', 'data-loading-text' => trans('general.loading')]) !!} | ||||
|  | ||||
|                         <a href="{{ url('wizard/currencies') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top"> | ||||
|                         <a href="{{ route('wizard.currencies.index') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top"> | ||||
|                             <span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span> | ||||
|                             <span class="btn-inner--text">{{ trans('general.skip') }}</span> | ||||
|                         </a> | ||||
|   | ||||
| @@ -123,13 +123,13 @@ | ||||
|         <div class="card-footer"> | ||||
|             <div class="row"> | ||||
|                 <div class="col-sm-6"> | ||||
|                     <a href="{{ url('wizard/companies') }}" class="btn btn-icon btn-white header-button-top"> | ||||
|                     <a href="{{ route('wizard.companies.index') }}" class="btn btn-icon btn-white header-button-top"> | ||||
|                         <span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span> | ||||
|                         <span class="btn-inner--text">{{ trans('pagination.previous') }}</span> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div class="col-sm-6 text-right"> | ||||
|                     <a href="{{ url('wizard/taxes') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top"> | ||||
|                     <a href="{{ route('wizard.taxes.index') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top"> | ||||
|                         <span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span> | ||||
|                         <span class="btn-inner--text">{{ trans('pagination.next') }}</span> | ||||
|                     </a> | ||||
|   | ||||
| @@ -50,13 +50,13 @@ | ||||
|         <div class="card-footer"> | ||||
|             <div class="row"> | ||||
|                 <div class="col-sm-6"> | ||||
|                     <a href="{{ url('wizard/taxes') }}" class="btn btn-icon btn-white header-button-top"> | ||||
|                     <a href="{{ route('wizard.taxes.index') }}" class="btn btn-icon btn-white header-button-top"> | ||||
|                         <span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span> | ||||
|                         <span class="btn-inner--text">{{ trans('pagination.previous') }}</span> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div class="col-sm-6 text-right"> | ||||
|                     <a href="{{ url('/') }}" id="wizard-skip" class="btn btn-icon btn-success header-button-top"> | ||||
|                     <a href="{{ route('dashboard') }}" id="wizard-skip" class="btn btn-icon btn-success header-button-top"> | ||||
|                         <span class="btn-inner--icon"><i class="fa fa-tachometer-alt"></i></span> | ||||
|                         <span class="btn-inner--text">{{ trans('general.go_to_dashboard') }}</span> | ||||
|                     </a> | ||||
|   | ||||
| @@ -106,13 +106,13 @@ | ||||
|         <div class="card-footer"> | ||||
|             <div class="row"> | ||||
|                 <div class="col-sm-6"> | ||||
|                     <a href="{{ url('wizard/currencies') }}" class="btn btn-icon btn-white header-button-top"> | ||||
|                     <a href="{{ route('wizard.currencies.index') }}" class="btn btn-icon btn-white header-button-top"> | ||||
|                         <span class="btn-inner--icon"><i class="fas fa-arrow-left"></i></span> | ||||
|                         <span class="btn-inner--text">{{ trans('pagination.previous') }}</span> | ||||
|                     </a> | ||||
|                 </div> | ||||
|                 <div class="col-sm-6 text-right"> | ||||
|                     <a href="{{ url('wizard/finish') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top"> | ||||
|                     <a href="{{ route('wizard.finish.index') }}" id="wizard-skip" class="btn btn-icon btn-white header-button-top"> | ||||
|                         <span class="btn-inner--icon"><i class="fas fa-arrow-right"></i></span> | ||||
|                         <span class="btn-inner--text">{{ trans('pagination.next') }}</span> | ||||
|                     </a> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user