Skip to content

Instantly share code, notes, and snippets.

@deepthawtz
Created March 17, 2009 07:17
Show Gist options
  • Select an option

  • Save deepthawtz/80382 to your computer and use it in GitHub Desktop.

Select an option

Save deepthawtz/80382 to your computer and use it in GitHub Desktop.
# Set up cookies support in Merb::Controller and Merb::Request
class Merb::BootLoader::Cookies < Merb::BootLoader
# Set up cookies support in Merb::Controller and Merb::Request
#
# ==== Returns
# nil
#
# :api: plugin
def self.run
require 'merb-core/dispatch/cookies'
Merb::Controller.send(:include, Merb::CookiesMixin)
Merb::Request.send(:include, Merb::CookiesMixin::RequestMixin)
nil
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment