class RenderActionWithApplicationLayout::BasicController

Render actions with layouts ====

Public Instance Methods

hello_world() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 130
def hello_world
  render action: "hello_world"
end
hello_world_with_custom_layout() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 146
def hello_world_with_custom_layout
  render action: "hello_world", layout: "greetings"
end
hello_world_with_layout() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 134
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 138
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 142
def hello_world_with_layout_nil
  render action: "hello_world", layout: nil
end
with_builder_and_layout() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 150
def with_builder_and_layout
  render action: "hello", layout: "builder"
end