Sha256: 1e44f9c139d8ca1c6ccbfcc578e58637a7cdece485cf354a2a67e2b0132205fa
Contents?: true
Size: 322 Bytes
Versions: 5
Compression:
Stored size: 322 Bytes
Contents
module C80Contest class BidPhotosController < ApplicationController before_filter :authenticate_user! skip_before_filter :verify_authenticity_token def image path = "uploads/bids/#{params[:file_name]}.#{params[:ext]}" send_file path, :x_sendfile => true, :disposition => :inline end end end
Version data entries
5 entries across 5 versions & 1 rubygems