Skip to content

Commit 0707631

Browse files
committed
more-seed-data
1 parent e2c53f4 commit 0707631

File tree

3 files changed

+312
-30
lines changed

3 files changed

+312
-30
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ DATABASE_HOST=localhost
1919
MAIL_LINK_HOST=localhost:3000
2020

2121
# a list of emails for superadmin users
22-
ADMINS="superadmin@example.com"
22+
ADMINS="admin@timeoverflow.org"

app/models/post.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ def member
124124
end
125125

126126
def rendered_description
127-
RDiscount.new(description, :autolink)
127+
RDiscount.new(description || '', :autolink)
128128
end
129129
end

0 commit comments

Comments
 (0)