Browse Source

Put logic in wrong definition. Copy/paste mistake.

master
Jonathan Rosenbaum 10 months ago
parent
commit
451c0addfd
  1. 8
      app/controllers/conferences_controller.rb

8
app/controllers/conferences_controller.rb

@ -217,11 +217,11 @@ class ConferencesController < ApplicationController
steps -= [:hosting, :questions]
end
return steps
end
if conference.city_id == 433 # if this conference is being held in the "South Pole" (it's a virtual/"Everywhere" event)
steps -= [:hosting, :payment, :questions] # skip hosting b/c there is none & skip payment because we're using OpenCollective
end
if conference.city_id == 433 # if this conference is being held in the "South Pole" (it's a virtual/"Everywhere" event)
steps -= [:hosting, :payment, :questions] # skip hosting b/c there is none & skip payment because we're using OpenCollective
return steps
end
def required_steps(conference = nil)

Loading…
Cancel
Save