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

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

Fix ActionView::Template::Error in web-console, caused by e0c2731d
Fix ActionView::Template::Error in web-console, caused by e0c2731d

Adding controller check before accesing params. Fixes #194
