Hi,
I have a strange problem.
class ApplicationController < ActionController::Base
layout ‘test’
end
class UserController < ApplicationController
end
UserController’s layout should be ‘test’.
However, if app/view/layouts/user.rhtml exists, UserController uses it
as its layout.
If I remove user.rhtml, UserController uses ‘test’ as its layout.
So, it seems that UserController tries to use ‘user’ and only if it
doesn’t exist, it uses the inherited layout.
Is this a feature or bug?
Thanks in advance.
Sam