mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
Don't depend on user => person delagation so we can eventually get rid of that, thanks astronouth7303
This commit is contained in:
@@ -10,7 +10,7 @@ class UsersController < ApplicationController
|
||||
def edit
|
||||
@user = current_user
|
||||
@person = @user.person
|
||||
@profile = @user.profile
|
||||
@profile = @user.person.profile
|
||||
@photos = Photo.find_all_by_person_id(@person.id).paginate :page => params[:page], :order => 'created_at DESC'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user