Example #1
0
 /**
  * Show the readme
  * @return Response
  */
 public function index()
 {
     $browser = Guest::getBrowser();
     $isCurl = preg_match("/curl/i", $browser);
     $content = $this->keystone->readme();
     return $isCurl ? $content : view('keystone::server.index', compact('content'));
 }
Example #2
0
 /**
  * Show the readme
  * @return Response
  */
 public function index()
 {
     $browser = Guest::getBrowser();
     $isCurl = preg_match("/curl/i", $browser);
     #$content = $this->api->readme();
     #return $isCurl ? $content : view('api::server.index', compact('content'));
     return "welcome to api";
 }