Sha256: f13bb31946393a1bc929bbb3a0e097d35f576ecabfb75899a73657aea5a94185

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

module Remotipart
  module RequestHelper
    def remotipart_submitted?
      params[:remotipart_submitted] ? true : false
    rescue
      false
    end
    
    alias :remotipart_requested? :remotipart_submitted?
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
remotipart-1.4.4 lib/remotipart/request_helper.rb
remotipart-1.4.3 lib/remotipart/request_helper.rb
remotipart-1.4.2 lib/remotipart/request_helper.rb