Exception: Flame::Errors::TemplateNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Flame::Errors::TemplateNotFoundError
- Defined in:
- lib/flame/errors/template_not_found_error.rb
Overview
Error for not found template file in Render
Instance Method Summary collapse
-
#initialize(controller, path) ⇒ TemplateNotFoundError
constructor
Create a new instance of error.
Constructor Details
#initialize(controller, path) ⇒ TemplateNotFoundError
Create a new instance of error
11 12 13 14 15 |
# File 'lib/flame/errors/template_not_found_error.rb', line 11 def initialize(controller, path) controller = controller.class unless controller.is_a? Class super("Template '#{path}' not found for '#{controller}'") end |