title: How to call methods of another controller
body: <p>I need to call methods from another controller. What is the best way? For example:</p>
  
  <p>catalogues_controller.rb</p>
  
  <pre><code>class Site::CataloguesController &lt; ApplicationController
    respond_to :js, :html
  
    def index
      produc_list # call method other controller
    end
  end
  </code></pre>
  
  <p>other_controller.rb</p>
  
  <pre><code>class OtherController &lt; ApplicationController
  
    respond_to :js, :html
  
    def produc_list
       myObj = Catalagues.find(params[:id])
       render :json =&gt; myObj
    end
  end
  </code></pre>