Module: Chaltron::Controllers::Helpers
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/chaltron/controllers/helpers.rb
Overview
Those helpers are convenience methods added to ApplicationController.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #debug(message, category = nil) ⇒ Object
- #error(message, category = nil) ⇒ Object
-
#info(message, category = nil) ⇒ Object
Utilities for logging.
Instance Method Details
#debug(message, category = nil) ⇒ Object
30 31 32 |
# File 'lib/chaltron/controllers/helpers.rb', line 30 def debug(, category = nil) (, category, :debug) end |
#error(message, category = nil) ⇒ Object
34 35 36 |
# File 'lib/chaltron/controllers/helpers.rb', line 34 def error(, category = nil) (, category, :error) end |
#info(message, category = nil) ⇒ Object
Utilities for logging
26 27 28 |
# File 'lib/chaltron/controllers/helpers.rb', line 26 def info(, category = nil) (, category, :info) end |