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.
29 lines
547 B
29 lines
547 B
module Semantic
|
|
module Subscribers
|
|
class ActionView < LogSubscriber
|
|
include AnsiColors
|
|
|
|
attr_reader :logger
|
|
|
|
def initialize
|
|
super(:action_view)
|
|
end
|
|
|
|
def render_partial(event)
|
|
# logger.info('Rendered partial')
|
|
end
|
|
|
|
def render_template(event)
|
|
logger.debug('Rendered template')
|
|
end
|
|
|
|
def render_collection(event)
|
|
logger.debug('Rendered collection')
|
|
end
|
|
|
|
def render_layout(event)
|
|
logger.debug('Rendered layout')
|
|
end
|
|
end
|
|
end
|
|
end
|