Add routes config info.

This commit is contained in:
Jason Lee 2015-10-27 10:27:01 +08:00
parent f219b9aed2
commit 108dc9ff64
1 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,16 @@ RuCaptcha.configure do
end
```
Edit `config/routes.rb`, add follow line:
```rb
Rails.application.routes.draw do
...
mount RuCaptcha::Engine => "/rucaptcha"
...
end
```
Controller `app/controller/account_controller.rb`
```rb