class RenderActionWithControllerLayout::BasicController
Public Instance Methods
hello_world()
click to toggle source
# File actionpack/test/controller/new_base/render_action_test.rb, line 209 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 225 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 213 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 217 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 221 def hello_world_with_layout_nil render action: "hello_world", layout: nil end