diff --git a/app/views/admin/communication/website/posts/show.html.erb b/app/views/admin/communication/website/posts/show.html.erb index 52679295d3388a4099900fe3303ebc8d6be242af..1fd65d4beb3b14368fd0bdf5bdda7f97e909004d 100644 --- a/app/views/admin/communication/website/posts/show.html.erb +++ b/app/views/admin/communication/website/posts/show.html.erb @@ -31,7 +31,7 @@ </tr> <tr> <td><%= Communication::Website::Page.human_attribute_name('published_at') %></td> - <td><%= l @post.published_at, format: :long %></td> + <td><%= l @post.published_at, format: :long if @post.published_at %></td> </tr> <tr> <td><%= Communication::Website::Page.human_attribute_name('published') %></td>