Forum: Ruby on Rails theme_generator custom application views

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Alex MacCaw (Guest)
on 2006-03-21 18:53
I've installed the theme generator but am having trouble getting custom
application views working. Let's say I define a action called 'test' in
the controller.

   class PageController < ApplicationController
   theme 'bluebird'
   layout 'default'
     def test
     end
   end

Now if I define a rhtml page called 'test' in:
themes/bluebird/views/page/test.rhtml
it gives a error saying 'The Template is missing'.

It only works if I place 'test.rhtml' in
app/views/page/test.rhtml
which is no good!

Does anyone know how to get custom application views working?
This topic is locked and can not be replied to.