class RenderTemplate::WithoutLayoutController
Public Instance Methods
builder_template()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 53 def builder_template render template: "xml_template" end
html_with_json_inside_json()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 25 def html_with_json_inside_json render template: "test/with_json" end
in_top_directory()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 33 def in_top_directory render template: "shared" end
in_top_directory_with_slash()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 37 def in_top_directory_with_slash render template: "/shared" end
in_top_directory_with_slash_without_key()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 41 def in_top_directory_with_slash_without_key render "/shared" end
index()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 21 def index render template: "test/basic" end
index_without_key()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 29 def index_without_key render "test/basic" end
with_error()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 65 def with_error render template: "test/with_error" end
with_implicit_raw()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 61 def with_implicit_raw render template: "with_implicit_raw" end
with_locals()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 45 def with_locals render template: "locals", locals: { secret: "area51" } end
with_locals_without_key()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 49 def with_locals_without_key render "locals", locals: { secret: "area51" } end
with_raw()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 57 def with_raw render template: "with_raw" end
Private Instance Methods
show_detailed_exceptions?()
click to toggle source
# File actionpack/test/controller/new_base/render_template_test.rb, line 71 def show_detailed_exceptions? request.local? end