module Middleman::CoreExtensions::Request
Base helper to manipulate asset paths
Public Class Methods
registered(app)
click to toggle source
@private
# File lib/middleman-core/core_extensions/request.rb, line 14 def registered(app) # CSSPIE HTC File ::Rack::Mime::MIME_TYPES['.htc'] = 'text/x-component' # Let's serve all HTML as UTF-8 ::Rack::Mime::MIME_TYPES['.html'] = 'text/html; charset=utf-8' ::Rack::Mime::MIME_TYPES['.htm'] = 'text/html; charset=utf-8' app.extend ClassMethods app.extend ServerMethods Middleman.extend CompatibleClassMethods # Include instance methods app.send :include, InstanceMethods end
Also aliased as: included