public function scriptsAction()
    {
        $locator = $this->get('file_locator');

        $content =
            file_get_contents($locator->locate('@PhlexibleUserBundle/Resources/scripts/ChangePasswordWindow.js')).
            file_get_contents($locator->locate('@PhlexibleUserBundle/Resources/scripts/ValidateWindow.js')).
            file_get_contents($locator->locate('@PhlexibleUserBundle/Resources/scripts/SetPasswordWindow.js'));

        return new Response($content, 200, ['Content-Type' => 'text/javascript']);
    }
public function scriptsAction()
    {
        $locator = $this->get('file_locator');

        $content =
            file_get_contents($locator->locate('@PhlexibleUserBundle/Resources/scripts/ChangePasswordWindow.js')).
            file_get_contents($locator->locate('@PhlexibleUserBundle/Resources/scripts/ValidateWindow.js')).
            file_get_contents($locator->locate('@PhlexibleUserBundle/Resources/scripts/SetPasswordWindow.js'));

        return new Response($content, 200, ['Content-Type' => 'text/javascript']);
    }
public function scriptsAction ( ) { $ locator = $ this -> get ( 'file_locator' ) ; $ content = file_get_contents ( $ locator -> locate ( '@PhlexibleUserBundle/Resources/scripts/ChangePasswordWindow.js' ) ) . file_get_contents ( $ locator -> locate ( '@PhlexibleUserBundle/Resources/scripts/ValidateWindow.js' ) ) . file_get_contents ( $ locator -> locate ( '@PhlexibleUserBundle/Resources/scripts/SetPasswordWindow.js' ) ) ; return new Response ( $ content , 200 , [ 'Content-Type' => 'text/javascript' ] ) ; }
Return user javascripts.

@return Response
Return user javascripts .