title: rails link to another controller
body: <pre><code>&lt;td&gt;
    &lt;%=link_to image_tag(phone.image, :class =&gt; 'list_image'), :controller =&gt; 'phones_feature_controller', :action =&gt; 'index', :id =&gt; phone.id %&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>I want to have an image link to another controller.
  This link is in my index page and its controller is <code>phone</code>. I have another controller <code>phones_feature</code>. I want to have a link to <code>phones_feature</code>'s index page</p>
  
  <p>my phones_feature_controller :</p>
  
  <pre><code> def index
    @phones=Phone.find(params[:id])
     respond_to do |format|
        format.html # index.html.erb
        format.json { render json: @phones }
      end
    end
  </code></pre>