Skip to content

Commit 5cd254c

Browse files
authored
Merge pull request #209 from coopdevs/seeds-db
Mejorando los datos de inicio seeds.rb
2 parents 5d28673 + 0707631 commit 5cd254c

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)