Marnen Laibow-Koser wrote:
> Mk 27 wrote:
>> If I want to link from/redirect via the index page (which I notice will
>> not process as erb)
> 
> Huh?  *What* won't process as ERb?

public/index.html

I copied my (working) application.html.erb from app/layouts, made some 
appropriate modifications, and named it "index.html.erb".  When I start 
the server and go to localhost:3000, it does read the page but it spits 
out the <%ruby%> unparsed, like I suppose it would if I used apache.

Anyway, I am sure I will get to know all the rails commands eventually, 
but since all the paths are absolute relative to one another, I would 
actually PREFER to know what they are/should be -- you cannot get 
simpler than typing a relative url, eg. it would literally be 
"app/views/section/list" (although this does not work).  Ease of use is 
one thing, pointless opacity is another.

So, can I ask that question again in the hopes of getting a real answer? 
I will investigate url_for and routes as well...
-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to