Hallo Moritz,
Am 09.01.2008 um 09:38 schrieb Moritz Heidkamp:
Michael,
Am Wed, 9 Jan 2008 00:20:08 +0100 schrieb Michael Voigt <[EMAIL PROTECTED]
>:
Hallo,
ich habe eine Liste mit events.
@events.each do |event|
link_to('anzeigen', event) # rendert mit show.html.erb
link_to .... # soll events/1.ics als url generieren
end
So geht's:
link_to 'anzeigen', formatted_event_path(event, :ics)
Super vielen Dank!
Herzliche Grüße,
Michael
Beste Grüße
Moritz
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug
--
Michael Voigt
Framheinstr. 1
22083 Hamburg
Phone: 0177 6 77 0129
E-Mail: [EMAIL PROTECTED]
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug