From 791f0eec02f274010e051b55d436921b873d9095 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 10 Feb 2014 21:20:31 -0500 Subject: finish? the main DesignDocument.md --- docs/DesignDocument.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md index 885e679..73b050d 100644 --- a/docs/DesignDocument.md +++ b/docs/DesignDocument.md @@ -374,7 +374,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 @@ -388,10 +388,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)\ -- cgit v1.2.3