lib/hanami/views/default.rb in hanami-0.7.3 vs lib/hanami/views/default.rb in hanami-0.8.0

- old
+ new

@@ -14,10 +14,10 @@ layout nil root Pathname.new(File.dirname(__FILE__)).join('../templates').realpath template 'default' def title - response[2].first + "#{response[0]} - #{response[2].first || Http::Status.message_for(response[0])}" end def self.render(root, template_name, context) format = context[:format] template = DefaultTemplateFinder.new(self, root, template_name, format).find