rails view without a controller

ruby-on-rails

Solution

No. All requests has to go through a controller.

I like to have a `PagesController`, with `map.page ":action", :controller => "pages"`. That way, I can create `app/views/pages/foo.erb` and have it available on `/foo` without any extra code.

Problem

Can rails handle creating a view without a controller? For example, let say I have a page that just links to other pages, would I need to create a dummy controller for that, or could I just do something in my routes file?

Original source