lanrion / weixin_rails_middleware

微信集成 ruby weixin_rails_middleware for integration weixin.
MIT License
408 stars 107 forks source link

日志中出现找不到Template的错误 #25

Closed ZhaoZijie closed 10 years ago

ZhaoZijie commented 10 years ago

ActionView::MissingTemplate (Missing template weixin_rails_middleware/weixin/reply with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in:

lanrion commented 10 years ago

@ZhaoZijie Hi,把你的 weixin_controller.rb 贴一下,怀疑你把 replyrender 方法去掉了。https://github.com/lanrion/weixin_rails_middleware/blob/master/lib/generators/templates/weixin_controller.rb#L8