Commit 97a5e112 authored by Alper Akgun's avatar Alper Akgun

Reuse actual_plan_name method

parent 5630e49b
- purchase_link = plan.purchase_link - purchase_link = plan.purchase_link
- is_current_plan = plan.code == namespace.actual_plan&.name - is_current_plan = plan.code == namespace.actual_plan_name
.col-md-6.col-lg-3 .col-md-6.col-lg-3
.card.mb-5{ class: ("card-active" if is_current_plan) } .card.mb-5{ class: ("card-active" if is_current_plan) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment