Move server view management parts to new controller and clean up code
This commit is contained in:
parent
8f0044575f
commit
c17f9ba8a9
10 changed files with 309 additions and 157 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue