bleedingwolf / Ratpack

A micro web framework for Groovy
Other
210 stars 4 forks source link

Refactored some repeating code for creating a File object from url resource into a private method #4

Closed dima767 closed 14 years ago

justinvoss commented 14 years ago

This change breaks static file serving, since the file variable at RatpackServlet.groovy:106 is no longer defined. The fix seems easy, though: I just had to add def file = staticFileFrom(url) on the line before. If you can add that, I'll be glad to merge this change in.

dima767 commented 14 years ago

Sorry, my bad. Missed that :-) Will fix!