Sha256: a9d1ae9539270d413151076548cc7570cc890bbc114fa06aa435cbc0c4cc5297

Contents?: true

Size: 201 Bytes

Versions: 14

Compression:

Stored size: 201 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
remotipart-1.4.0 lib/remotipart/request_helper.rb
remotipart-1.3.1 lib/remotipart/request_helper.rb
remotipart-1.3.0 lib/remotipart/request_helper.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/remotipart-1.2.1/lib/remotipart/request_helper.rb
remotipart-1.2.1 lib/remotipart/request_helper.rb
remotipart-1.2.0 lib/remotipart/request_helper.rb
remotipart-1.1.1 lib/remotipart/request_helper.rb
remotipart-1.1.0 lib/remotipart/request_helper.rb
remotipart-1.0.5 lib/remotipart/request_helper.rb
remotipart-1.0.4 lib/remotipart/request_helper.rb
remotipart-1.0.3 lib/remotipart/request_helper.rb
remotipart-1.0.2 lib/remotipart/request_helper.rb
remotipart-1.0.1 lib/remotipart/request_helper.rb
remotipart-1.0 lib/remotipart/request_helper.rb