This commit is contained in:
ahinz 2014-12-11 15:25:43 +01:00
parent 8c46b91661
commit 6b5bf75bee
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class ArticlesController < ApplicationController
# GET /articles
# GET /articles.json
def index
@articles = Article.order()
@articles = Article.order('created_at DESC')
end
# GET /articles/1