Vestal_versions : List all the versions of the edit in the rails app
i am using vestal_version in my rails app. And i am wondering how do I show the previous versions edit links with respect to what is at the above entry. My html.erb code is 

			<tbody>
                            <% @page.versions.each do |page| %>
                            <tr class="odd">
                              <td><input type="checkbox" /></td>
                              <td> </td>
                              <td><%= page.created_at%></td>
                              <td>
                              <% if params[:version] %>
                              <%= link_to "Previous Version", :version => @page.version-1 %>
                              <%end%>
                            </td>
                            </tr>


                      </div>
             <% end %>
                  
and in controller i have `@page.revert_to(params[:version].to_i) if params[:version]`

I have attached a link to the screenshot. And if closely observe. the ?version=5 for all the entries. I want to have all the versions that is 1,2,3,4 and 5. How do i do that ?

Update : Image is hyper linked in the comment. I am not allowed add an image as of now.

Vestal_versions : List all the versions of the edit in the rails app
===

i am using vestal_version in my rails app. And i am wondering how do I show the previous versions edit links with respect to what is at the above entry. My html.erb code is 

			<tbody>
                            <% @page.versions.each do |page| %>
                            <tr class="odd">
                              <td><input type="checkbox" /></td>
                              <td> </td>
                              <td><%= page.created_at%></td>
                              <td>
                              <% if params[:version] %>
                              <%= link_to "Previous Version", :version => @page.version-1 %>
                              <%end%>
                            </td>
                            </tr>


                      </div>
             <% end %>
                  
and in controller i have `@page.revert_to(params[:version].to_i) if params[:version]`

I have attached a link to the screenshot. And if closely observe. the ?version=5 for all the entries. I want to have all the versions that is 1,2,3,4 and 5. How do i do that ?

Update : Image is hyper linked in the comment. I am not allowed add an image as of now.
