summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-02-10 20:03:10 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-02-10 20:03:10 -0500
commit2bb24c4d3dc612cc8e65ad414c529a96682efb1b (patch)
treeb5fe21fbdd05ac79e2fc4e49b2633c9b529bf11e
parent001ab55b4dad44dae229791a2361b93f15ef8ea9 (diff)
Updated SearchController and Fixed an Error in LoginController.
-rw-r--r--docs/DesignDocument.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 98ba57c..0a21005 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -280,13 +280,15 @@ LoginController
model to validate the username and password.
- `logout()` Responds to POST requests by clearing the session
token, logging the user out, then redirects to the home page
- (`MainController#show_homepage()`). If the was not logged in,
+ (`MainController#show_homepage()`). If the user was not logged in,
it renders the `common/invalid` view.
SearchController
- : TODO
+ : This controller handles user search terms. It has one method:
- - `show_results()` TODO: RESPONDS TO POST
+ - `show_results()` Responds to POST by accessing whichever model(s)
+ contains the information requested and renders the `search/results`
+ view.
MessagesController
: TODO