Skip to content

Commit

Permalink
We don't need this reload now that we're assigning the subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
henare committed Aug 14, 2015
1 parent f6c224e commit ec9a8a0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/alerts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def confirmed
if @alert.subscription.nil?
@subscription = Subscription.create!(email: @alert.email, trial_started_at: Date.today)
@new_subscription = true
@alert.reload
else
@subscription = @alert.subscription
@new_subscription = false
Expand Down

0 comments on commit ec9a8a0

Please sign in to comment.