Class: Antispam::ValidateController

Inherits:
ApplicationController show all
Defined in:
app/controllers/antispam/validate_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#must_be_admin

Instance Method Details

#indexObject



5
6
7
8
9
10
# File 'app/controllers/antispam/validate_controller.rb', line 5

def index
  respond_to do |format|
    format.html
    format.js { render js: 'window.location = "/antispam/validate"'}
  end
end