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
23 lines
441 B
# MainController for basic routes
|
|
class MainController < ApplicationController
|
|
def home
|
|
logger.info 'efficient logging for dark theme'
|
|
end
|
|
|
|
def about
|
|
logger.debug 'some debugging info'
|
|
|
|
logger.info 'relevant information'
|
|
logger.info "multiline\nline2\nline3"
|
|
|
|
logger.warn 'a warning'
|
|
# logger.error "an error"
|
|
|
|
# raise "this is an error"
|
|
# sleep 3
|
|
end
|
|
|
|
def mymethod
|
|
puts 'hello world'
|
|
end
|
|
end
|