Theme_generator custom application views

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs