From d5d82e63d6e768b4ade278cc6c892b1614369bc5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 10 Feb 2014 19:00:52 -0500 Subject: DesignDocument: clarify that the MainController talks to the Server model --- docs/DesignDocument.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3-54-g00ecf