我正在使用simple_captcha。它的工作发现,直到我添加以下行的routes.rb奇怪的轨道3路线问题
match ":controller(/:action)", :constraints => {:controller => /sandbox\/[^\/]+/}
验证码图片没有显示和日志显示以下错误消息。
Started GET "/simple_captcha/8cdf70c193dc8823f281828f11c250e1739883da?time=1294644088" for 127.0.0.1 at Sun Jan 09 23:21:29 -0800 2011
AbstractController::ActionNotFound (The action '8cdf70c193dc8823f281828f11c250e1739883da' could not be found for SimpleCaptchaController):
为什么路由中的行会影响simple_captcha?
谢谢。
山姆