# File lib/action_view/template.rb, line 157
    def mime_type
      Mime::Type.lookup_by_extension(format) if format && defined?(::Mime)
    end