From 5487a0e7c4b1a0ee7384f7a9b3a0042b433039b5 Mon Sep 17 00:00:00 2001 From: Adrian Short Date: Wed, 14 Apr 2010 10:46:21 +0100 Subject: [PATCH] Minor bugfix in app.rb --- app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.rb b/app.rb index e5df2ce..599a849 100644 --- a/app.rb +++ b/app.rb @@ -10,7 +10,7 @@ DataMapper.setup(:default, ENV['DATABASE_URL'] || "sqlite3://#{Dir.pwd}/db.sqlit DataMapper.auto_upgrade! get '/' do - @wards = Ward.all( :order => 'name' ) + @wards = Ward.all( :order => ['name'] ) haml :home end