You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
441 B

2 years ago
  1. # MainController for basic routes
  2. class MainController < ApplicationController
  3. def home
  4. logger.info 'efficient logging for dark theme'
  5. end
  6. def about
  7. logger.debug 'some debugging info'
  8. logger.info 'relevant information'
  9. logger.info "multiline\nline2\nline3"
  10. logger.warn 'a warning'
  11. # logger.error "an error"
  12. # raise "this is an error"
  13. # sleep 3
  14. end
  15. def mymethod
  16. puts 'hello world'
  17. end
  18. end