class RenderActionWithBothLayouts::BasicController

Public Instance Methods

hello_world() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 268
def hello_world
  render action: "hello_world"
end
hello_world_with_layout() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 272
def hello_world_with_layout
  render action: "hello_world", layout: true
end
hello_world_with_layout_false() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 276
def hello_world_with_layout_false
  render action: "hello_world", layout: false
end
hello_world_with_layout_nil() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 280
def hello_world_with_layout_nil
  render action: "hello_world", layout: nil
end