use guid instead of id for /people/ urls

This commit is contained in:
Jonne Haß
2012-01-23 23:35:31 +01:00
parent 8f38a19976
commit 7aaaf4f43b
18 changed files with 58 additions and 51 deletions

View File

@@ -108,7 +108,7 @@ class UsersController < ApplicationController
render :xml => director.build(ostatus_builder), :content_type => 'application/atom+xml'
end
format.any { redirect_to person_path(user.person.id) }
format.any { redirect_to person_path(user.person) }
end
else
redirect_to multi_stream_path, :error => I18n.t('users.public.does_not_exist', :username => params[:username])