class Flame::Errors::TemplateNotFoundError

Error for not found template file in Render

Public Class Methods

new(controller, path) click to toggle source
# File lib/flame/errors/template_not_found_error.rb, line 7
def initialize(controller, path)
        @controller = controller
        @controller = @controller.class unless @controller.is_a? Class
        @path = path
end

Public Instance Methods

message() click to toggle source
# File lib/flame/errors/template_not_found_error.rb, line 13
def message
        "Template '#{@path}' not found for '#{@controller}'"
end