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.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---