Methods
C
G
M
P
R
S
Instance Public methods
get()
# File actionpack/test/controller/integration_test.rb, line 223
def get
  respond_to do |format|
    format.html { render :text => "OK", :status => 200 }
    format.js { render :text => "JS OK", :status => 200 }
  end
end
get_with_params()
# File actionpack/test/controller/integration_test.rb, line 230
def get_with_params
  render :text => "foo: #{params[:foo]}", :status => 200
end
method()
# File actionpack/test/controller/integration_test.rb, line 238
def method
  render :text => "method: #{request.method.downcase}"
end
post()
# File actionpack/test/controller/integration_test.rb, line 234
def post
  render :text => "Created", :status => 201
end
redirect()
# File actionpack/test/controller/integration_test.rb, line 257
def redirect
  redirect_to :action => "get"
end