That''s a very vague question and you
most likely should read some tutorial on
Rails, before you start.
In the most simple way if you have a controller
wich defines an index action like:
class SomeController < ApplicationController
def index
end
end
Then all you need is a file named index.html.erb
in views/some folder that contains your html
If the index action is called, Rails will take that file
and send it back to the browser, which will display it
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---