class RenderJSTest::TestController
Public Class Methods
controller_path()
click to toggle source
# File actionpack/test/controller/render_js_test.rb, line 11 def self.controller_path "test" end
Public Instance Methods
render_vanilla_js_hello()
click to toggle source
# File actionpack/test/controller/render_js_test.rb, line 15 def render_vanilla_js_hello render js: "alert('hello')" end
show_partial()
click to toggle source
# File actionpack/test/controller/render_js_test.rb, line 19 def show_partial render partial: "partial" end