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.
 
 
 
 
 

22 lines
516 B

# MainController for basic routes
class MainController < ApplicationController
def home
# flash.now[:notice] = 'this is a notice flash'
logger.info 'efficient logging for dark theme'
@value = 6
end
def about
# flash.now[:alert] = 'this is an alert flash'
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
end