From 2bb24c4d3dc612cc8e65ad414c529a96682efb1b Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Mon, 10 Feb 2014 20:03:10 -0500 Subject: Updated SearchController and Fixed an Error in LoginController. --- docs/DesignDocument.md | 8 +++++--- 1 file 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 -- cgit v1.2.3