mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-15 12:53:44 +02:00
Move server view management parts to new controller and clean up code
This commit is contained in:
@@ -61,4 +61,15 @@ trait JavascriptInjection
|
||||
|
||||
return Javascript::put($overwrite ? $args : $response);
|
||||
}
|
||||
|
||||
/**
|
||||
* Injects the exact array passed in, nothing more.
|
||||
*
|
||||
* @param array $args
|
||||
* @return array
|
||||
*/
|
||||
public function plainInject($args = [])
|
||||
{
|
||||
return Javascript::put($args);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user