Class: TinyCaptcha::ImagesController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- TinyCaptcha::ImagesController
- Defined in:
- app/controllers/tiny_captcha/images_controller.rb
Instance Method Summary collapse
-
#new ⇒ Object
params: - object.
Instance Method Details
#new ⇒ Object
params:
- object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'app/controllers/tiny_captcha/images_controller.rb', line 8 def new @tiny_captcha_options = (:object => params[:object]) respond_to do |format| format.json { render :json => { :tiny_captcha_options => @tiny_captcha_options } } end end |