Method: Cuca::Controller#layout
- Defined in:
- lib/cuca/controller.rb
#layout(name) ⇒ Object
define a layout for the current instance
151 152 153 154 |
# File 'lib/cuca/controller.rb', line 151 def layout(name) $stderr.puts "Overwriting Layout: #{self.class.def_layout.inspect} with #{name}" @_layout = name end |