FIX: language was not being inserted into RSS

This commit is contained in:
Jeff Atwood 2015-01-23 15:57:29 -08:00
parent 4904eeaa67
commit 246ae75a31

View file

@ -6,7 +6,7 @@
<title><%= @title %></title>
<link><%= @link %></link>
<description><%= @description %></description>
<% if lang %><language>#{lang}</language><% end %>
<% if lang %><language><%= lang%></language><% end %>
<% if @topic_list.topics && @topic_list.topics.length > 0 %>
<lastBuildDate><%= @topic_list.topics.first.created_at.rfc2822 %></lastBuildDate>
<atom:link href="<%= @atom_link %>" rel="self" type="application/rss+xml" />