From c9614e33e3884c2491d1ab99b5eb930f554e20eb Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Thu, 24 Jan 2013 19:51:51 -0500 Subject: [PATCH] removed buggy line from users_controller preventing people from joining (?) Or just Ishan's friends? --- app/controllers/users_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 5ca2cf36..ba56c2ab 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -47,11 +47,10 @@ class UsersController < ApplicationController @user.save # direct them straight to the metamaps manual map. - @connor = User.find(555629996) @map = Map.first(:conditions => [ "id = ?", 5]) if @map - respond_with(@user, location: user_map_url(@connor,@map)) do |format| + respond_with(@user, location: map_url(@map)) do |format| end else respond_with(@user, location: root_url) do |format|