Index: app/controllers/account_controller.rb
===================================================================
--- app/controllers/account_controller.rb	(리비전 2878)
+++ app/controllers/account_controller.rb	(작업 사본)
@@ -24,7 +24,9 @@
 
   # Show user's account
   def show
-    @user = User.active.find(params[:id])
+    if Integer(params[:id])
+      @user = User.active.find(params[:id])
+    end rescue @user = User.active.find(:all, :conditions => {:login => params[:id]})[0]
     @custom_values = @user.custom_values
     
     # show only public projects and private projects that the logged in user is also a member of
Index: config/routes.rb
===================================================================
--- config/routes.rb	(리비전 2878)
+++ config/routes.rb	(작업 사본)
@@ -16,6 +16,7 @@
   map.signin 'login', :controller => 'account', :action => 'login'
   map.signout 'logout', :controller => 'account', :action => 'logout'
   
+  map.connect 'u/:id', :controller => 'account', :action => 'show'
   map.connect 'roles/workflow/:id/:role_id/:tracker_id', :controller => 'roles', :action => 'workflow'
   map.connect 'help/:ctrl/:page', :controller => 'help'
   
