trabajo-afectivo/app/controllers/tests_controller.rb

27 lines
469 B
Ruby
Raw Normal View History

2014-02-03 19:24:49 +00:00
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
2012-11-23 08:36:12 +00:00
class TestsController < ApplicationController
2013-07-10 06:46:59 +00:00
# GET /tests/core
def core
respond_to do |format|
format.html # index.html.erb
end
end
# GET /tests/from
def form
2012-11-23 08:36:12 +00:00
respond_to do |format|
format.html # index.html.erb
end
end
# GET /test/wait
def wait
sleep params[:sec].to_i
result = { :success => true }
render :json => result
end
end