evazion
26e8b7144a
Fix exception in h(post.source) when source is nil (fixes #2940).
Fixes this exception:
TypeError exception raised
no implicit conversion of nil into String
app/presenters/presenter.rb:3:in `escapeHTML'
app/presenters/presenter.rb:3:in `h'
app/presenters/post_presenter.rb:91:in `data_attributes'
app/presenters/post_presenter.rb:24:in `preview'
app/presenters/post_set_presenters/base.rb:15:in `block in post_previews_html'
app/presenters/post_set_presenters/base.rb:14:in `post_previews_html'
app/views/posts/partials/index/_posts.html.erb:3:in `_app_views_posts_partials_index__posts_html_erb___2716396856929289512_70158315986180'
app/views/posts/index.html.erb:39:in `_app_views_posts_index_html_erb__1345252938355811220_70158296799280'
app/controllers/posts_controller.rb:16:in `index'
2017-03-25 23:43:20 -05:00
..
2017-03-15 15:36:48 -07:00
2016-08-22 15:15:08 -07:00
2017-03-22 14:24:06 -07:00
2017-03-25 23:43:20 -05:00
2017-03-17 18:36:53 -07:00
2013-03-19 23:10:10 +11:00
2017-03-21 14:05:32 -07:00
2016-02-22 14:11:25 -08:00
2017-03-23 02:47:21 -05:00