Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2011-07-30 05:19:55 +0400
committerMaxwell Salzberg <maxwell@joindiaspora.com>2011-07-30 05:53:46 +0400
commitd407be036e20e332db2bc33954cb749a26b1e212 (patch)
tree8584485aa7d70a3c9a3604d2b1828a46a33b3ccb /config
parent540a3e68a601af907083348613de9e392186ad0d (diff)
i am not a number! include username in the main url of a local user!
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 42ff03d3f..d1f8260cf 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -154,7 +154,7 @@ Diaspora::Application.routes.draw do
get 'mobile/toggle', :to => 'home#toggle_mobile', :as => 'toggle_mobile'
-
+ get ':username' => 'people#show', :as => 'user_profile'
# Startpage
root :to => 'home#show'