Skip to content

Commit

Permalink
Fix profile publication
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Oct 9, 2010
1 parent 6e44c19 commit 1018b8a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -25,8 +25,8 @@ def user_profile_page_display_profile_feature(data)
c.user_details_tags('user') { |t| t.locals.user }
c.expansion_tag('user:profile') { |t| t.locals.entry = data[:user_profile].content_model_entry if data[:content_model] }
c.expansion_tag('logged_in') { |t| myself.id }
c.expansion_tag('user:published') { |t| t.locals.user.published? }
c.expansion_tag('user:protected') { |t| t.locals.user.protected? }
c.expansion_tag('user:published') { |t| data[:profile_user].published? }
c.expansion_tag('user:protected') { |t| data[:profile_user].protected? }
c.content_model_fields_value_tags('user:profile', data[:user_profile_type].display_content_model_fields) if data[:content_model]
end
end
Expand Down

0 comments on commit 1018b8a

Please sign in to comment.