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 route.
Instance Method Details
#captcha_route ⇒ Object
call to add default captcha route
7 8 9 |
# File 'lib/easy_captcha/routes.rb', line 7 def captcha_route get '/captcha' => 'easy_captcha/captcha#captcha', action: :captcha, as: :captcha end |