Skip to content

Conversation

codebender
Copy link
Contributor

  • also replace another current_user.team reference

%section.feature.payment.cf
=render :partial => "payment", :locals => {:account => @team.account || current_user.team.build_account, :plan => @team.account.try(:current_plan)}
= render partial: "payment", locals: { account: @team.account || current_user.membership.team.build_account, plan: @team.account.try(:current_plan) }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

= render partial: "payment", locals: { account: @team.account || @team.build_account, plan: @team.account.try(:current_plan) }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plan will be always false. account don't respond to current_plan

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also replace another current_user.team reference
@codebender codebender force-pushed the fix/upgrade_team_view branch from 4805075 to 800a83a Compare January 17, 2015 22:27
seuros added a commit that referenced this pull request Jan 18, 2015
change view now that user is always signed in
@seuros seuros merged commit 2829983 into coderwall:master Jan 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants