动态内容调整

This commit is contained in:
guange 2016-01-20 23:20:44 +08:00
parent 4607d1a78d
commit c439d62a64
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
class WechatsController < ActionController::Base
wechat_responder
included ApplicationHelper
# default text responder when no other match
on :text do |request, content|
request.reply.text "echo: #{content}" # Just echo