You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add redirects to Code of Conduct and Discord Guidelines docs (#383)
* Add redirects to Code of Conduct and Discord Guidelines docs
Then link to those redirects so we only ever have to change the
routes file if we want to link to new docs.
* fix rubocop offense
* Correct text mispelling
---------
Co-authored-by: fatmahussein <fartunhussein346@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ WNB.rb is a virtual community for women and non-binary Rubyists. This is the rep
12
12
13
13
## Code of Conduct ❤️
14
14
15
-
All contributors to this repository must follow the [WNB.rb code of conduct](https://tinyurl.com/wnb-rb-coc). Those who violate the code of conduct will be reported to GitHub support and banned from all WNB.rb platforms, including GitHub and Discord.
15
+
All contributors to this repository must follow the [WNB.rb code of conduct](https://wnb-rb.dev/code-of-conduct). Those who violate the code of conduct will be reported to GitHub support and banned from all WNB.rb platforms, including GitHub and Discord.
16
16
17
17
## 1. Getting Started 🏁
18
18
@@ -54,6 +54,7 @@ Then, edit `.env` and set the following environment variables:
54
54
The `/join-us` page allows users to request an invitation to the WNB.rb Discord server. When users submit the form, they receive an email with a Discord invite link.
55
55
56
56
**Required Environment Variables:**
57
+
57
58
-`DISCORD_INVITE_URL`: The Discord server invite link to send to new users
58
59
59
60
**Email Configuration:**
@@ -95,6 +96,7 @@ foreman run rake [NAMESPACE]:[TASK_NAME]
95
96
```
96
97
97
98
To add an admin to the database (with default password set), run:
Copy file name to clipboardExpand all lines: app/views/discord_invitation_mailer/invite.html.erb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -158,7 +158,7 @@
158
158
</div>
159
159
160
160
<divclass="code-of-conduct">
161
-
<p>📋 Before participating, please read our <ahref="https://tinyurl.com/wnb-rb-coc" target="_blank">Code of Conduct</a> to ensure our community remains welcoming and safe for everyone.</p>
161
+
<p>📋 Before participating, please read our <ahref="<%=code_of_conduct_url%>" target="_blank">Code of Conduct</a> to ensure our community remains welcoming and safe for everyone.</p>
162
162
</div>
163
163
164
164
<p>If you have any questions or need help getting started, simply reply to this email and we'll be happy to assist you!</p>
0 commit comments