From 6b5bf75bee8fedbefd089876357723e061718694 Mon Sep 17 00:00:00 2001 From: ahinz Date: Thu, 11 Dec 2014 15:25:43 +0100 Subject: [PATCH] ` --- app/controllers/articles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index 048eeed..369550e 100644 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -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