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
    end
    
    alias :remotipart_requested? :remotipart_submitted?
  end
end

--- 
+++ 
@@ -1,7 +1,7 @@
 module Remotipart
   module RequestHelper
     def remotipart_submitted?
-      params[:remotipart_submitted] ? true : false
+      controller && params[:remotipart_submitted] ? true : false
     end
     
     alias :remotipart_requested? :remotipart_submitted?
Fix ActionView::Template::Error in web-console, caused by e0c2731d

Adding controller check before accesing params. Fixes #194
