Class: Merb::BootLoader::Cookies

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

Overview

Set up cookies support in Merb::Controller and Merb::Request

Class Method Summary collapse

Methods inherited from Merb::BootLoader

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

Class Method Details

.runObject

Set up cookies support in Merb::Controller and Merb::Request

Returns

nil

:api: plugin


1204
1205
1206
1207
1208
1209
# File 'lib/merb-core/bootloader.rb', line 1204

def self.run
  require 'merb-core/dispatch/cookies'
  Merb::Controller.send(:include, Merb::CookiesMixin)
  Merb::Request.send(:include, Merb::CookiesMixin::RequestMixin)
  nil
end