I have created new rails-project. I start Mongrel.
I add to project:
app/controllers/my_first_controller.rb
I have created new rails-project. I start Mongrel.
I add to project:
app/controllers/my_first_controller.rb
Do you restart your project when you added the “my_second_controller” ?
The Route will be initialized at start.
2008-09-02
I work in development-mode. My routes.rb:
I guess you need to restart your server
But why? It's inconveniently!
routes.rb is cached for performance reasons, this might be the problem…
But I write not new route. I write new controller.