class RenderAction::BasicController

This has no layout and it works

Public Instance Methods

hello_world() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 12
def hello_world
  render action: "hello_world"
end
hello_world_as_string() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 16
def hello_world_as_string
  render "hello_world"
end
hello_world_as_string_with_options() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 20
def hello_world_as_string_with_options
  render "hello_world", status: 404
end
hello_world_as_symbol() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 24
def hello_world_as_symbol
  render :hello_world
end
hello_world_with_custom_layout() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 44
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 32
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 36
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 40
def hello_world_with_layout_nil
  render action: "hello_world", layout: nil
end
hello_world_with_symbol() click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 28
def hello_world_with_symbol
  render action: :hello_world
end