我正在使用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?
謝謝。
山姆