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

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

Add rescue to mitigate the situation where params is not available
Add rescue to mitigate the situation where params is not available

Refs #89, #195
