summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 21:06:10 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 21:06:10 -0500
commit4945ce02b45dacee020f8919f51fa3dfb23cc194 (patch)
treeb0dbeb42629863a50a6c47b40d7d6f584e4377c2
parentcebc7115d133801d438836d622600e2f472bc831 (diff)
mostly document the remaining controllers
-rw-r--r--docs/DesignDocument.md51
1 files changed, 30 insertions, 21 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index e896202..885e679 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -328,9 +328,7 @@ MessagesController
has permission.
TournamentsController
- : This controller will have methods:
-
- The following methods respond to GET requests by rendering the
+ : The following methods respond to GET requests by rendering the
`tournaments/*` view with the same name:
- `index()`
@@ -353,36 +351,47 @@ TournamentsController
TournamentSettings.
MatchesController
- : TODO
+ : The following methods respond to GET requests by rendering the
+ `matches/*` view with the same name:
- - `index()`: TODO: GET
- - `show()` TODO: GET
- - `edit()` TODO: GET
- - `update()` TODO: POST
+ - `index()`
+ - `show()`
+ - `edit()`
+
+ The following methods respond to POST requests, assuming the user
+ has permission:
+
+ - `update()` Updates the specified `Match` with the POSTed data.
TeamsController
- : TODO
+ : The following methods respond to GET requests by rendering the
+ `teams/*` view with the same name:
+
+ - `index()`
+ - `show()`
+ - `edit()`
+
+ The following methods respond to POST requests, assuming the user
+ has permission:
- - `index()` TODO: GET
- - `show()` TODO: GET
- - `edit()` TODO: GET
- `update()` TODO: POST
UsersController
- : TODO
+ : The following methods respond to GET requests by rendering the
+ `users/*` view with the same name:
+
+ - `index()`
+ - `show()`
+ - `new()`
+ - `edit()`
+
+ The following methods respond to POST requests, assuming the user
+ has permission:
- - `index()` TODO: GET
- - `show()` TODO: GET
- - `new()` TODO: GET
- `create()` TODO: POST
- - `edit()` TODO: GET
- `update()` TODO: POST
- `delete()` TODO: POST
## UML Diagram of Classes
-TODO ā€“ Iā€™m working on this ā€“ see images.pptx ~ Tomer
-
-So am I: ~ Luke
-
![](DesignDocument-classes.pdf)\