add rough user attributes API

This commit is contained in:
Wen-Tien Chang committed 2010-03-08 17:14:59 +08:00
1 parent 29ee4585b2
commit a40b117fbe
6 files changed
+32 -11

No files matched your search

@@ -13,6 +13,7 @@ class Panel::UsersController < ApplicationController
def new
@user = User.new
@user_attributes = UserAttribute.all
end
def create
@@ -26,6 +27,7 @@ class Panel::UsersController < ApplicationController
def edit
@user = User.find(params[:id])
@user_attributes = UserAttribute.all
end
def update