Move server view management parts to new controller and clean up code

This commit is contained in:
Dane Everitt 2019-11-24 12:50:16 -08:00
parent 8f0044575f
commit c17f9ba8a9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
10 changed files with 309 additions and 157 deletions

View file

@ -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);
}
}