title: Custom routing in Rails
body: <p>I´m new to rails and don´t know much about routing. Maybe it is a silly question or already answered.</p>
  
  <p>What i want to do is, I have (music) Genres and artists. When I click to show more about genre it redirects me to show.html.erb, when I click to show artists in genre, I am redirected to  Artists index page. </p>
  
  <p>I created a footer in my app, from which i want to access all artists in database, not just for genre which artist belongs to. I want to use existing controller.  </p>
  
  <p>In my artists controller i have function,</p>
  
  <pre><code>def all_artists
    @artists = Artist.all
  end
  </code></pre>
  
  <p>I want to create some all_artists.html.erb which cooperates with function in controller like #index or #show do.</p>