services_controller.rb
来自「ajax修炼之道源代码。很难下到的。现在奉献给大家。」· RB 代码 · 共 12 行
RB
12 行
#---# Excerpted from "Pragmatic Ajax"# We make no guarantees that this code is fit for any purpose. # Visit http://www.pragmaticprogrammer.com/titles/ajax for more book information.#---class ServicesController < ApplicationController def jsonrpc post = @request.raw_post render(:text => ORBJSON.process(post)) endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?