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
Add root path config
tags/last-sinatra-version
Adrian Short
11 years ago
parent
37d3805187
commit
4756386df2
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app.rb
+ 2
- 0
app.rb
View File
@@ -3,6 +3,8 @@ require 'sinatra'
require 'haml'
require './models'
set :root, File.dirname(__FILE__)
class String
def pluralize(num)
if num == 1
Write
Preview
Loading…
Cancel
Save