Browse Source

Minor bugfix in app.rb

tags/last-sinatra-version
Adrian Short 14 years ago
parent
commit
5487a0e7c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app.rb

+ 1
- 1
app.rb View File

@@ -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



Loading…
Cancel
Save