summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 19:00:52 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 19:00:52 -0500
commitd5d82e63d6e768b4ade278cc6c892b1614369bc5 (patch)
treece12374a80b5cdef021ecacdc8471e3f8fffbb24
parentd92546e6c8a21985d0e653e7910af210705dc8bc (diff)
DesignDocument: clarify that the MainController talks to the Server model
-rw-r--r--docs/DesignDocument.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 335485f..a45bc99 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -260,13 +260,13 @@ MainController
- `show_homepage()` Responds to GET requests by rendering the
`main/homepage` view.
- `edit_settings()` Responds to GET requests by (if the user is
- authenticated and is a host) rendering the `main/edit` view
- that presents the user with a form to edit the server settings;
- assuming the user has permission.
+ authenticated and is a host) rendering the `main/edit` view that
+ presents the user with a form to edit the `Server` model's
+ settings; assuming the user has permission.
- `update_settings()` Responds to POST requests by updating the
- server configuration with the POSTed settings. It then renders
- the `main/edit` view with the updated settings. This assumes
- the user has the permissions.
+ `Server` model configuration with the POSTed settings. It then
+ renders the `main/edit` view with the updated settings. This
+ assumes the user has the permissions.
LoginController
: This controller handles session management. It contains two