module Chaltron::Controllers::Helpers::ClassMethods
Public Instance Methods
default_log_category(cat)
click to toggle source
# File lib/chaltron/controllers/helpers.rb, line 18 def default_log_category(cat) @log_category = cat.to_s end
log_category()
click to toggle source
# File lib/chaltron/controllers/helpers.rb, line 14 def log_category defined?(@log_category) ? @log_category : self.to_s.downcase end