page with params between search and show page
<p>So i have this page that shows a result of events with a button that takes you to the eventid (which has a list of prices)</p>

<p>What im wanting to do is one of my api's is only showing all tickets available (how considerate). So i'm having to adjust to them.</p>

<p>What im wanting (and have made but not put in yet) is to have a page inbetween the search results and the <code>show.html.erb</code></p>

<p>This page has a bunch of buttons on it, Asking how many tickets your looking for. e.g. <code>2 tickets for the event</code>. </p>

<p>Now what im wondering is how i can go about this?</p>

<p>Currently the button is linked up like this (on the search results page)</p>

<pre><code>  &lt;%= link_to 'Compare', event_path(event.id), class: "btn btn-info" %&gt;
</code></pre>

<p>However what im going to want to do is have this button link off to a page called <code>ticket_numbers.html.erb</code> This will sit inbetween these two pages and when a user clicks said button on that page it shall allow me to use the number in the view and related jquery files.</p>

<p>Any help would be great!!</p>

<p>Thanks
Sam</p>