class PostsController

Public Instance Methods

bar() click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4776
def bar
  NonExistingClass.new
end
foo() click to toggle source
# File actionpack/test/dispatch/routing_test.rb, line 4772
def foo
  nil.i_do_not_exist
end
show() click to toggle source
# File actionpack/test/dispatch/prefix_generation_test.rb, line 378
def show
  render plain: post_path(id: params[:id])
end

Private Instance Methods

default_action() click to toggle source
# File actionpack/test/controller/filters_test.rb, line 861
def default_action
  render inline: "#{action_name} called"
end