Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/onboarding_scenarios/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def accepts_under13 = false

# Slack provisioning settings
# Returns :full_member or :multi_channel_guest
def slack_user_type = :multi_channel_guest
def slack_user_type = :full_member

# Returns array of channel names/IDs for multi-channel guests during onboarding
def slack_channels = []
Expand Down
2 changes: 0 additions & 2 deletions app/models/onboarding_scenarios/beest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def slack_channels = chans(:beest, :beest_bulletin, :beest_help, :welcome_to_hack_club)

def slack_onboarding_flow = :internal_tutorial
Expand Down
2 changes: 0 additions & 2 deletions app/models/onboarding_scenarios/blueprint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def slack_channels = chans(:blueprint, :blueprint_support, :blueprint_announcements, :blueprint_drafts, :identity_help)

def next_action = :home
Expand Down
2 changes: 0 additions & 2 deletions app/models/onboarding_scenarios/campfire.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def slack_channels = chans(:campfire_flagship, :campfire_flagship_bulletin, :campfire_flagship_help, :welcome_to_hack_club)

def slack_onboarding_flow = :internal_tutorial
Expand Down
2 changes: 0 additions & 2 deletions app/models/onboarding_scenarios/campfire_satellites.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def slack_channels = chans(:campfire, :campfire_bulletin, :campfire_help, :welcome_to_hack_club, :identity_help)

def slack_onboarding_flow = :internal_tutorial
Expand Down
2 changes: 0 additions & 2 deletions app/models/onboarding_scenarios/fallout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def slack_channels = chans(:fallout, :fallout_help, :fallout_bulletin, :identity_help)

def slack_onboarding_flow = :internal_tutorial
Expand Down
4 changes: 1 addition & 3 deletions app/models/onboarding_scenarios/flavortown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def next_action = :home

def slack_onboarding_flow = :internal_tutorial

def slack_channels = chans(:flavortown_bulletin, :flavortown_esplanade, :flavortown_help, :identity_help)
def slack_channels = chans(:flavortown_bulletin, :flavortown_esplanade, :flavortown_help, :identity_help) + promotion_channels

def promotion_channels = chans(:flavortown_construction, :library, :lounge, :welcome, :happenings, :community, :neighbourhood, :pyramid_scheme)

Expand Down
2 changes: 0 additions & 2 deletions app/models/onboarding_scenarios/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ def form_fields
[ :first_name, :last_name, :primary_email, :birthday, :country ]
end

def slack_user_type = :multi_channel_guest

def slack_channels = chans(:hack_club_the_game, :hctg_bulletin, :hctg_help, :welcome_to_hack_club)

def slack_onboarding_flow = :internal_tutorial
Expand Down