Permalink
Browse files

Fix wrong examples in CotnentController phpdoc

  • Loading branch information...
andrerom committed Apr 1, 2012
1 parent 82fd686 commit 0bdf3c155605174dd521cec0d48ee89e20681168
Showing with 5 additions and 5 deletions.
  1. +5 −5 HiMVC/Core/Content/Controller.php
@@ -41,7 +41,7 @@ public function __construct( Request $request, Repository $reposiotry )
}
/**
- * Add new item in collection ( ie POST /orders/ )
+ * Add new item in collection ( ie POST /content/ )
*
* @return \HiMVC\API\MVC\Values\Result
*/
@@ -51,7 +51,7 @@ public function doCreate()
}
/**
- * Get item in collection ( ie GET /orders/{id} )
+ * Get item in collection ( ie GET /content/{id} )
*
* @param mixed $id
* @param string $view
@@ -71,7 +71,7 @@ public function doRead( $id, $view = 'full' )
}
/**
- * Update item in collection ( ie PUT /orders/{id} )
+ * Update item in collection ( ie PUT /content/{id} )
*
* @param mixed $id
* @return \HiMVC\API\MVC\Values\Result
@@ -82,7 +82,7 @@ public function doUpdate( $id )
}
/**
- * Delete item in collection ( ie DELETE /orders/{id} )
+ * Delete item in collection ( ie DELETE /content/{id} )
* Or 'Cancel order'
*
* @param mixed $id
@@ -94,7 +94,7 @@ public function doDelete( $id )
}
/**
- * List items in collection ( ie GET /orders/ )
+ * List items in collection ( ie GET /content/ )
*
* @return \HiMVC\API\MVC\Values\Result
*/

0 comments on commit 0bdf3c1

Please sign in to comment.