diff --git a/app/controllers/my/slack_invites_controller.rb b/app/controllers/my/slack_invites_controller.rb index e517802..2271c71 100644 --- a/app/controllers/my/slack_invites_controller.rb +++ b/app/controllers/my/slack_invites_controller.rb @@ -1,7 +1,7 @@ module My class SlackInvitesController < My::ApplicationController def show - redirect_to "https://join.slack.com/t/rubyau/shared_invite/zt-1pewt4vi8-TtrM~UoIJmuH9Niy0Ela6w", allow_other_host: true + redirect_to "https://join.slack.com/t/rubyau/shared_invite/#{ENV['SLACK_INVITE_ID']}", allow_other_host: true end end end