summaryrefslogtreecommitdiff
path: root/docs/DesignDocument.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/DesignDocument.md')
-rw-r--r--docs/DesignDocument.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 43d626d..61a5767 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -373,7 +373,7 @@ TeamsController
The following methods respond to POST requests, assuming the user
has permission:
- - `update()` TODO: POST
+ - `update()` Update the specified `Team` with the POSTed data.
UsersController
: The following methods respond to GET requests by rendering the
@@ -387,10 +387,19 @@ UsersController
The following methods respond to POST requests, assuming the user
has permission:
- - `create()` TODO: POST
- - `update()` TODO: POST
- - `delete()` TODO: POST
+ - `create()` Creates a new `User` with the POSTed data.
+ - `update()` Update the specified `User` with the POSTed data.
+ - `delete()` Deletes the specified `User` account.
## UML Diagram of Classes
+This diagram does not show all models inheriting from
+`ActiveRecord::Base`, all views inheriting from `layouts/application`,
+or all controllers inheriting from `ApplicationController`. It
+does not show interactions with the `User` model that solely check
+authorization to perform an action. It does not show controller
+methods calling the error views. It shows transitions from a view to
+a controller *only* when that is the *primary* purpose of the view; many
+workflows can be interupted at any time.
+
![](DesignDocument-classes.pdf)\