title: Rails passing params to another controller
body: <p>I have my rails app structure as</p>
  
  <pre><code>TestApp 
  | app 
  ____| assets 
  ____| controllers 
  __________| app 
  _______________| v1
  ______________________| mobile_controller
  _____ test_controller
  ____| helpers 
  ____| mailers 
  ____| models 
  ____| views 
  _________| test
  ______________| _form
  ______________| edit
  ______________| index
  ______________| show
  ______________| index
  | bin 
  | config 
  | custom 
  | db 
  | lib 
  | log 
  | public 
  |.... 
  |.... 
  </code></pre>
  
  <p>I have two controllers Mobile, Test</p>
  
  <p>Mobile controllers has all the API's</p>
  
  <pre><code>class Api::V1::MobileController  &lt; ApplicationController 
  
      # POST method
      def taskCompleted
  
          respond_to do |format|
  
          format.html { redirect_to '/thankyou', :params =&gt; params, :isValid =&gt; true }            
  
      end
  end
  </code></pre>
  
  <p>When the taskCompleted method is called i want to display a thank you screen
  So, i am calling index method in TestController, </p>
  
  <pre><code> class TestController  &lt; ApplicationController 
  
      def index
  
  
      end
  end
  </code></pre>
  
  <p>In app/views/test/ i have index.html, where i have HTML content.</p>
  
  <p>But i am unable to receive params, passed from taskCompleted method in mobile controller, in index method of Test controller</p>
  
  <p>Can this be possible?</p>
  
  <p>Or do i need to create views for mobile controller?  </p>