Hello,
 I'm using Rails 3 and when I run this command:

rails generate controller Todos2

So I get new controller called Todos2 and in file todos2_controller.rb I
will creating two view, index and about. (+ of course I'll creating
appropriately views *.rhtml). Then when I type localhost:3000/todos -
problem with routing, localhost:3000/todos/index - the same,
localhost:3000/todos/about - the same

When I used Rails v2.3.4, I rebooted server and everything worked. But
now, I'm using Rails 3 and unfortunately nothing.

And so: when creating controller and I'm typing:

rails generate controller Todos2 index2, about2

So both of views are created automatically and it seems work.


So I would like to ask you -- in Rails 3 is not possible to create views
manually, only with using command?


Thanks a lot,
M.

-- 
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