Multi level static site?

Create a controller like this

script/generate controller level1::level2::test

It will create what you want as it creates a folder called level1 and then a folder called level2 and ultimately it puts the testcontroller.rb
in the level2 folder.

When you check the views folder, its also as you specify.

Hope this helps