summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index 55a7598..3625833 100644
--- a/application.rb
+++ b/application.rb
@@ -11,16 +11,19 @@ end
require "example.rb"
get '/examples/?' do
+ LOGGER.info "list examples"
content_type "text/plain"
Example.transform_example
end
get '/prepare_examples/?' do
+ LOGGER.info "prepare examples"
content_type "text/plain"
Example.prepare_example_resources
end
get '/test_examples/?' do
+ LOGGER.info "test examples"
content_type "text/plain"
Example.test_examples
end
@@ -28,7 +31,6 @@ end
# order is important, first add example methods and reports, than validation
# (otherwise sinatra will try to locate a validation with name examples or report)
-
require "report/report_application.rb"
require "validation/validation_application.rb"