Displaying 1 result from an estimated 1 matches for "useradmincontroller".
2006 Aug 09
2
layouts, stupid problem :P
hi! how can i put different layouts for the actions in the same
controller?
i was putting the layout always at the beginning of the controller, and
i tought, if i put a layout in an action, it would be work, but nop.
i mean:
UserAdminController < ApplicationController
layout ''admin''
...
def edit
layout ''edit_2''
...
end
end
how can i resolve my problem? ty!
--
Posted via http://www.ruby-forum.com/.