Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/easy_captcha/routes.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#captcha_route ⇒ Object
call to add default captcha root.
Instance Method Details
#captcha_route ⇒ Object
call to add default captcha root
5 6 7 |
# File 'lib/easy_captcha/routes.rb', line 5 def captcha_route match "captcha" => EasyCaptcha::Controller, :via => :get end |