reverse display order of article list on index from asc to desc

Changed files
+1 -1
app
views
articles
+1 -1
app/views/articles/index.html.erb
··· 42 <p><%= link_to "tags", tags_path %> | <a href="/articles.rss">rss</a> | <a href="https://github.com/xxwhirlpool/bubblegum">source</a> | <%= Article.public_count %> total articles </p> 43 44 <ul> 45 - <% Article.all.each do |article| %> 46 <% unless article.archived? %> 47 <li> 48 <%= link_to article.title, article %>
··· 42 <p><%= link_to "tags", tags_path %> | <a href="/articles.rss">rss</a> | <a href="https://github.com/xxwhirlpool/bubblegum">source</a> | <%= Article.public_count %> total articles </p> 43 44 <ul> 45 + <% Article.all.reverse.each do |article| %> 46 <% unless article.archived? %> 47 <li> 48 <%= link_to article.title, article %>