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

Fix ActionView::Template::Error in web-console, caused by e0c2731d
user
```ruby
module Remotipart
  module RequestHelper
    def remotipart_submitted?
      controller && params[:remotipart_submitted] ? true : false
    end
    
    alias :remotipart_requested? :remotipart_submitted?
  end
end
```
assistant