Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #46 from kemalkanok/master
Browse files Browse the repository at this point in the history
some additions for ApiBundle #12
  • Loading branch information
hasantayyar committed Jul 7, 2014
2 parents 90cb4ae + 3343eaf commit f98df49
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Ojstr/ApiBundle/Controller/ArticleRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getArticlesAction($page = 0, $limit = 10) {
*
* @ApiDoc(
* resource=true,
* description="Get Article Action"
* description="Get Specific Article"
* )
*
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Ojstr/ApiBundle/Controller/AuthorRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AuthorRestController extends FOSRestController {
*
* @ApiDoc(
* resource=true,
* description="Get Journal Issues"
* description="Get Authors"
* )
* @Get("/authors")
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Ojstr/ApiBundle/Controller/ContactRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ContactRestController extends FOSRestController {
*
* @ApiDoc(
* resource=true,
* description="Get Journal Issues"
* description="Get Contacts"
* )
* @Get("/contacts")
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Ojstr/ApiBundle/Controller/JournalRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getJournalIssues($id) {
*
* @ApiDoc(
* resource=true,
* description="Get Journal Action"
* description="Get Specific Journal"
* )
*/
public function getJournalAction($id) {
Expand All @@ -47,7 +47,7 @@ public function getJournalAction($id) {
*
* @ApiDoc(
* resource=true,
* description="Get Journal Users Action",
* description="Get Specific Journal Of Users Action",
* parameters={
* {
* "name"="page",
Expand Down
5 changes: 0 additions & 5 deletions src/Ojstr/ApiBundle/Controller/TestRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@

class TestRestController extends FOSRestController {

/**
*
* @ApiDoc()
* @Get("/test")
*/
public function getTestAction() {
$res = array("status" => "ok");
return $res;
Expand Down

0 comments on commit f98df49

Please sign in to comment.