This website works better with JavaScript.
Home
Explore
Help
Sign In
adrianshort
/
suttonelections
mirror of
https://github.com/adrianshort/suttonelections.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
2
Wiki
Activity
Browse Source
Minor bugfix in app.rb
tags/last-sinatra-version
Adrian Short
14 years ago
parent
a51cd16e5c
commit
5487a0e7c4
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save