From bb618fbcd50920c8cc17f21e36e92e5deab39cc8 Mon Sep 17 00:00:00 2001 From: futurechimp Date: Fri, 17 Jun 2011 12:11:32 +0100 Subject: [PATCH] Sorting wire names. --- admin/controllers/feeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/controllers/feeds.rb b/admin/controllers/feeds.rb index 0dcef91..37149be 100644 --- a/admin/controllers/feeds.rb +++ b/admin/controllers/feeds.rb @@ -22,7 +22,7 @@ end get :edit, :with => :id do - @wires = Wire.all + @wires = Wire.all(:sort => [:name, :asc]) @feed = Feed.find(params[:id]) render 'feeds/edit' end