backend improvements

This commit is contained in:
Arno Kaimbacher 2018-10-10 18:28:51 +02:00
parent 50bcae442e
commit 4ac1c34b6a
16 changed files with 199 additions and 108 deletions

View file

@ -21,7 +21,8 @@ class LicenseController extends Controller
public function index() : View
{
$licenses = License::get();
$direction = 'asc'; // or desc
$licenses = License::orderBy('sort_order', $direction)->get();
return view('settings.license.license', compact('licenses'));
}

View file

@ -117,7 +117,7 @@ class PersonController extends Controller
}
/**
* activatew author, submitter etc....
* activate author, submitter etc....
*
* @param int $id
* @return \Illuminate\Http\Response