Class: Merb::BootLoader::Defaults

Inherits:
Merb::BootLoader show all
Defined in:
lib/merb-core/bootloader.rb

Overview

Setup some useful defaults

Class Method Summary collapse

Methods inherited from Merb::BootLoader

after, after_app_loads, before, before_app_loads, default_framework, finished?, inherited, move_klass

Class Method Details

.runObject



173
174
175
176
177
178
# File 'lib/merb-core/bootloader.rb', line 173

def self.run
  Merb::Request.http_method_overrides.concat([
    proc { |c| c.params[:_method] },
    proc { |c| c.env['HTTP_X_HTTP_METHOD_OVERRIDE'] }
  ])
end