@ -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