Created
March 17, 2009 07:17
-
-
Save deepthawtz/80382 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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