瀏覽代碼

Order feeds alphabetically on home page

master
Adrian Short 12 年之前
父節點
當前提交
4d24f18aac
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/controllers/feeds_controller.rb

+ 1
- 1
app/controllers/feeds_controller.rb 查看文件

@@ -3,7 +3,7 @@ class FeedsController < ApplicationController
# GET /feeds.json
def index
@feed = Feed.new
@feeds = Feed.all
@feeds = Feed.all :order => :title
respond_to do |format|
format.html # index.html.erb


Loading…
取消
儲存