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! DataMapper.auto_upgrade!


get '/' do get '/' do
@wards = Ward.all( :order => 'name' )
@wards = Ward.all( :order => ['name'] )
haml :home haml :home
end end




Loading…
Cancel
Save