jacquescrocker / jammit-sinatra

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

Fixes mhtml stylesheet compilation #5

Closed kschiess closed 7 years ago

kschiess commented 8 years ago

The old code would throw a

NameError: undefined local variable or method `request' for #Jammit::Middleware:0x007f8d75b725c8

Looks as though the code is copy pasta from the rails version. Here's the sinatra version, tested in our project.

kschiess commented 7 years ago

Old PR, no reaction. I am closing this.