1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 06:54:26 +02:00

Use the new client class to consume API actions

This commit is contained in:
Franz Liedke
2015-06-03 02:40:24 +02:00
parent a94a9afdcc
commit c616cd811b
3 changed files with 35 additions and 20 deletions

View File

@@ -20,6 +20,11 @@ abstract class Action
return $action->call($params);
}
protected function success()
{
return new Response();
}
/**
* @param string $url
* @return \Psr\Http\Message\ResponseInterface