src/Http/Controllers/JsLocalizationController.php
public function createJsMessages()
    {
        $contents = $this->getMessagesJson();

        return response($contents)
            ->header('Content-Type', 'text/javascript')
            ->setLastModified(MessageCachingService::getLastRefreshTimestamp());
    }
public function createJsMessages()
    {
        $contents = $this->getMessagesJson();

        return response($contents)
            ->header('Content-Type', 'text/javascript')
            ->setLastModified(MessageCachingService::getLastRefreshTimestamp());
    }
public function createJsMessages ( ) { $ contents = $ this -> getMessagesJson ( ) ; return response ( $ contents ) -> header ( 'Content-Type' , 'text/javascript' ) -> setLastModified ( MessageCachingService :: getLastRefreshTimestamp ( ) ) ; }
Create the JS-Response for all configured translation messages

@return \Illuminate\Http\Response
Create the JS - Response for all configured translation messages