diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-04-01 10:02:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-01 10:02:03 +0200 |
commit | 4b385d6c344c4a0a0b424622833bc72974c21cb5 (patch) | |
tree | 213d0986e075596a4dd2082be22113e08cac8456 /application/api/controllers/ApiController.php | |
parent | e96be632f5a7e8a8d39d99526ddd028084653b2f (diff) | |
parent | 68016e37983b882c51c6ac92da6f6cc1250676e5 (diff) | |
download | Shaarli-4b385d6c344c4a0a0b424622833bc72974c21cb5.tar.gz Shaarli-4b385d6c344c4a0a0b424622833bc72974c21cb5.tar.zst Shaarli-4b385d6c344c4a0a0b424622833bc72974c21cb5.zip |
Merge pull request #742 from ArthurHoaro/api/postLink
REST API: implement POST link service
Diffstat (limited to 'application/api/controllers/ApiController.php')
-rw-r--r-- | application/api/controllers/ApiController.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/application/api/controllers/ApiController.php b/application/api/controllers/ApiController.php index 1dd47f17..f35b923a 100644 --- a/application/api/controllers/ApiController.php +++ b/application/api/controllers/ApiController.php | |||
@@ -51,4 +51,14 @@ abstract class ApiController | |||
51 | $this->jsonStyle = null; | 51 | $this->jsonStyle = null; |
52 | } | 52 | } |
53 | } | 53 | } |
54 | |||
55 | /** | ||
56 | * Get the container. | ||
57 | * | ||
58 | * @return Container | ||
59 | */ | ||
60 | public function getCi() | ||
61 | { | ||
62 | return $this->ci; | ||
63 | } | ||
54 | } | 64 | } |