Forum: Ruby on Rails Specify order for links.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jeremy W. (Guest)
on 2007-02-19 20:36
Hi, I am having a bit of trouble finding out how to reverse order of my
links.


link_to(time.strftime('%I:%M %p'), :controller => 'showings',
                                              :action => 'index',
                                              :date =>
date.strftime('%Y-%m-%d'),
                                              :hour =>
time.strftime('%H'),
                                              :minute =>
time.strftime('%M'))

I have this link being displayed on my calendar, and it displays the
times as latest time first and earliest time on bottom. I am looking to
reverse this so it starts with the earliest time on top.

If anyone knows how to do this, or have any suggestions on what I should
search for I would appreciate it.

Thanks.
This topic is locked and can not be replied to.