]> git.openstreetmap.org Git - rails.git/blob - config/initializers/tempfile.rb
Add frame-src to allow http://127.0.0.1:8111
[rails.git] / config / initializers / tempfile.rb
1 # Hack TempFile to let us get at the underlying File object as ruby
2 # does a half assed job of making TempFile act as a File
3 class Tempfile
4   def file
5     @tmpfile
6   end
7 end