diff --git a/app/models/profile_info_block.rb b/app/models/profile_info_block.rb index 2c0995f..aed8457 100644 --- a/app/models/profile_info_block.rb +++ b/app/models/profile_info_block.rb @@ -5,9 +5,9 @@ class ProfileInfoBlock < Block end def content - user = owner + block = self lambda do - render :file => 'account/user_info', :locals => { :user => user } + render :file => 'blocks/profile_info', :locals => { :block => block } end end diff --git a/app/views/blocks/profile_info.rhtml b/app/views/blocks/profile_info.rhtml index a76c312..a4e9164 100644 --- a/app/views/blocks/profile_info.rhtml +++ b/app/views/blocks/profile_info.rhtml @@ -1,5 +1,7 @@