mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
improved syntax
This commit is contained in:
parent
a9f431a6a2
commit
8b811a1b3e
@ -14,7 +14,7 @@ class Subscriptions::Subscribe
|
||||
|
||||
new_sub = Subscription.create(
|
||||
plan_id: subscription.plan_id,
|
||||
statistic_profile_id: subscription.statistic_profile_id,
|
||||
statistic_profile_id: subscription.statistic_profile_id
|
||||
)
|
||||
new_sub.expiration_date = new_expiration_date
|
||||
if new_sub.save
|
||||
|
Loading…
x
Reference in New Issue
Block a user