removed extra migrate file and made user show profile correctly

This commit is contained in:
Connor Turland 2012-10-26 06:59:45 -04:00
parent 112708eb52
commit 402786a7c6
2 changed files with 1 additions and 9 deletions

View file

@ -21,7 +21,7 @@ class UsersController < ApplicationController
# GET /user
def show
@user = User.find(params[:user_id])
@user = User.find(params[:id])
respond_with(@user)
end

View file

@ -1,8 +0,0 @@
class AddAllToMap < ActiveRecord::Migration
def self.up
add_column :maps, :name, :text
add_column :maps, :desc, :text
add_column :maps, :permission, :text
add_column :maps, :user_id, :integer
end
end