Kann mir mal jemand sagen wie ich Routen für statische Seiten hinbekomme?

Was schreibe ich in die routes?

map.about_us ' ', :controller => 'about_us', :action => 'kontakt' ???

und der link ?
alt:
<%= link_to 'About Us', :controller => 'about_us', :action => 'kontakt' %>
neu :
<%= link_to 'About Us', about_us() %>

das klappt alles nicht

Ich benötige da mal ein funktionierendes Beispiel und finde nix..
Gruß und Danke




Werner Laude
Lindenburger Allee 22  -  50931 Köln

0221.8805 635

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://www.webagentur-laude.de

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug

Antwort per Email an