i have searched through this forum (and the web), but havent been able to find a simple explanation of routes.rb
i want to be able to simply load an index.rhtml when the browser loads http://localhost:3000/
from that page i want to be able to call some controllers by using:
to look something like http://localhost:3000/buildingsCode:<%= link_to "Click here for buildings", :action => "buildings" %>
but i simply dont understand how to without invoking another controller called index, which causes other problems.
which tbh is fine by me, but then i get an error message telling me it doesnt exist which is true, the building controller is not under the index controller, so i dont understand again how to instruct routes.rb to do this
oh and hi this is my first post