Move frames/schema items to fragment/schema
This commit is contained in:
parent
acc6598da1
commit
be40178234
@ -62,20 +62,20 @@ class APIController extends Controller
|
|||||||
|
|
||||||
switch($request->type) {
|
switch($request->type) {
|
||||||
case 'objectclasses':
|
case 'objectclasses':
|
||||||
return view('frames.schema.objectclasses')
|
return view('fragment.schema.objectclasses')
|
||||||
->with('objectclasses',$server->schema('objectclasses')->sortBy(function($item) { return strtolower($item->name); }));
|
->with('objectclasses',$server->schema('objectclasses')->sortBy(function($item) { return strtolower($item->name); }));
|
||||||
|
|
||||||
case 'attributetypes':
|
case 'attributetypes':
|
||||||
return view('frames.schema.attributetypes')
|
return view('fragment.schema.attributetypes')
|
||||||
->with('server',$server)
|
->with('server',$server)
|
||||||
->with('attributetypes',$server->schema('attributetypes')->sortBy(function($item) { return strtolower($item->name); }));
|
->with('attributetypes',$server->schema('attributetypes')->sortBy(function($item) { return strtolower($item->name); }));
|
||||||
|
|
||||||
case 'ldapsyntaxes':
|
case 'ldapsyntaxes':
|
||||||
return view('frames.schema.ldapsyntaxes')
|
return view('fragment.schema.ldapsyntaxes')
|
||||||
->with('ldapsyntaxes',$server->schema('ldapsyntaxes')->sortBy(function($item) { return strtolower($item->description); }));
|
->with('ldapsyntaxes',$server->schema('ldapsyntaxes')->sortBy(function($item) { return strtolower($item->description); }));
|
||||||
|
|
||||||
case 'matchingrules':
|
case 'matchingrules':
|
||||||
return view('frames.schema.matchingrules')
|
return view('fragment.schema.matchingrules')
|
||||||
->with('matchingrules',$server->schema('matchingrules')->sortBy(function($item) { return strtolower($item->name); }));
|
->with('matchingrules',$server->schema('matchingrules')->sortBy(function($item) { return strtolower($item->name); }));
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user