diff --git a/app/views/public/api/v1/portals/articles/show.html.erb b/app/views/public/api/v1/portals/articles/show.html.erb index e3b560454..bc108901d 100644 --- a/app/views/public/api/v1/portals/articles/show.html.erb +++ b/app/views/public/api/v1/portals/articles/show.html.erb @@ -17,17 +17,21 @@
Home / - - <%= @article.category.name %> - + <% if @article.category %> + + <%= @article.category&.name %> + + <% else %> + Uncategorized + <% end %>

<%= @article.title %>