On Sep 24, 2:53 am, "Johannes J. Schmidt" <[EMAIL PROTECTED]> wrote:
> Am Dienstag, den 23.09.2008, 15:34 -0700 schrieb Sudhir:

> the default template is app/view/layouts/application.html.erb
>

Really? I could not find this file in my workspaces. I tried creating
a fresh project and a fresh controller with Rails 2.1.1. It does not
create application.html.erb anywhere in my workspace. Perhaps the file
is elsewhere?

I did find layout.html.erb in my Rails install directory which appears
close to what I would expect from a default view template. I found it
here:
lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails_generator/generators/
components/scaffold/templates/layout.html.erb

Can anyone confirm that that's where we need to go to get a default
controller view template? Or maybe there is a "script/generate
default_layout" kind of command to create this in a workspace?

Thanks.

=sudhir.
--~--~---------~--~----~------------~-------~--~----~
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