trabajo-afectivo/app/controllers/tests_controller.rb

55 lines
920 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
2014-07-27 22:24:42 +00:00
# GET /tests/ui
def ui
respond_to do |format|
format.html # index.html.erb
end
end
2013-07-10 06:46:59 +00:00
# GET /tests/from
def form
2012-11-23 08:36:12 +00:00
respond_to do |format|
format.html # index.html.erb
end
end
2014-12-25 23:41:00 +00:00
# GET /tests/from_extended
def form
respond_to do |format|
format.html # index.html.erb
end
end
2014-06-14 09:26:08 +00:00
# GET /tests/table
def table
respond_to do |format|
format.html # index.html.erb
end
end
2014-12-29 12:59:16 +00:00
# GET /tests/html_utils
def html_utils
respond_to do |format|
format.html # index.html.erb
end
end
2012-11-23 08:36:12 +00:00
# GET /test/wait
def wait
sleep params[:sec].to_i
result = { :success => true }
render :json => result
end
end