Merge branch 'master' of github.com:Connoropolous/metamaps_gen002

This commit is contained in:
Connor Turland 2013-01-25 00:48:09 -05:00
commit 9853f91a59

View file

@ -22,7 +22,7 @@ class SessionsController < ApplicationController
@user = User.new @user = User.new
@map = Map.first(:conditions => [ "id = ?", 5]) @map = Map.first(:conditions => [ "id = ?", 5])
if @map if @map
respond_with(@user, @session, location: map_url(@map)) do |format| respond_with(@user, @session, location: map_url(@map)) do |format|