Browse Source

Add root path config

tags/last-sinatra-version
Adrian Short 11 years ago
parent
commit
4756386df2
1 changed files with 2 additions and 0 deletions
  1. +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


Loading…
Cancel
Save