removed buggy line from users_controller preventing people from joining (?) Or just Ishan's friends?
This commit is contained in:
parent
397eddca84
commit
c9614e33e3
1 changed files with 1 additions and 2 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue