Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/easy_captcha/routes.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#captcha_routeObject

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