Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Assorted small changes. (POST /spaces/new instead of POST /spaces)

  • Loading branch information...
commit 1f92bb05d3f2923a0742fc619e7eb3f0fd9e1d01 1 parent 7725b81
authored November 06, 2011
1  src/main/java/edu/rit/taskers/controller/PeopleController.java
@@ -30,7 +30,6 @@
30 30
 	 */
31 31
 	@RequestMapping(method = RequestMethod.GET)
32 32
 	public ModelAndView getAllContacts(@CookieValue("SPACE") int id) {
33  
-		//TODO - Session space ID
34 33
 		ModelAndView peopleJspAndContactsPage = new ModelAndView("people", "allcontacts", contactDao.findBySpace(id));
35 34
 		return peopleJspAndContactsPage;
36 35
 	}
2  src/main/java/edu/rit/taskers/controller/SpaceController.java
@@ -69,7 +69,7 @@ public String getContactDetails(@PathVariable int id, Principal principal) {
69 69
 	 * Update the space details
70 70
 	 * @return if Space was updated successfully
71 71
 	 */
72  
-	@RequestMapping(method = RequestMethod.PUT)
  72
+	@RequestMapping(value="/{id}", method = RequestMethod.PUT)
73 73
 	public boolean updateSpace() {
74 74
 		//TODO figure out if PUT is the best option
75 75
 		return true;

0 notes on commit 1f92bb0

Please sign in to comment.
Something went wrong with that request. Please try again.