Skip to content

Commit

Permalink
Merge pull request #196 from tumblr/gabe-fix-docs
Browse files Browse the repository at this point in the history
fix incorrect curl
  • Loading branch information
byxorna committed Aug 13, 2014
2 parents c122862 + dee6d07 commit eb3809e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/actions/assettype/CreateAction.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object CreateAction {
* collins-shell asset_type create --name=NAME --label=LABEL
* }}}
* @curlexample {{{
* curl -v -u blake:admin:first --basic \
* curl -XPUT -u blake:admin:first --basic \
* -d label='Service Asset Type' \
* http://localhost:9000/api/assettype/SERVICE
* }}}
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/actions/assettype/UpdateAction.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import play.api.data.Forms._
* collins-shell asset_type update OLDNAME [--name=NAME --label=LABEL]
* }}}
* @curlexample {{{
* curl -v -u blake:admin:first --basic \
* curl -XPOST -u blake:admin:first --basic \
* -d name='NEW_NAME' \
* http://localhost:9000/api/assettype/OLD_NAME
* }}}
Expand Down

0 comments on commit eb3809e

Please sign in to comment.