| 
														
															@@ -211,7 +211,6 @@ func post(w http.ResponseWriter, r *http.Request, model string, pattern PathPatt 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 		} else if pattern.RedirectPattern != "" { 
														 | 
														
														 | 
														
															 		} else if pattern.RedirectPattern != "" { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			if id := mux.Vars(r)["id"]; id != "" { 
														 | 
														
														 | 
														
															 			if id := mux.Vars(r)["id"]; id != "" { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				modelId, _ := strconv.Atoi(id) 
														 | 
														
														 | 
														
															 				modelId, _ := strconv.Atoi(id) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-				log.Println(model, modelId, pattern) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				http.Redirect(w, r, pattern.RedirectPath(model, uint(modelId)), http.StatusSeeOther) 
														 | 
														
														 | 
														
															 				http.Redirect(w, r, pattern.RedirectPath(model, uint(modelId)), http.StatusSeeOther) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 			} else { 
														 | 
														
														 | 
														
															 			} else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 				http.Redirect(w, r, pattern.RedirectPath(model, data.GetID()), http.StatusSeeOther) 
														 | 
														
														 | 
														
															 				http.Redirect(w, r, pattern.RedirectPath(model, data.GetID()), http.StatusSeeOther) 
														 |