jacquescrocker / jammit-sinatra

Jammit Rack middleware for use with Sinatra/Padrino
MIT License
23 stars 13 forks source link

use Jammit.public_root if defined to support Jammit 0.6.5 #1

Closed joesteele closed 12 years ago

joesteele commented 12 years ago

Jammit version 0.6.5 changed how it sets the public root directory. I just updated middleware.rb to use the new way if defined, Jammit.public_root, otherwise it uses the old PUBLIC_ROOT.

futurechimp commented 12 years ago

This is one is starting to bite me, too :).

jeffreyiacono commented 12 years ago

+1

argent-smith commented 12 years ago

PLEASE MERGE IT!