Module: SslRequirement
- Defined in:
- lib/spree_core/ssl_requirement.rb
Overview
Modified version of the ssl_requirement plugin by DHH
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(controller) ⇒ Object
55 56 57 58 |
# File 'lib/spree_core/ssl_requirement.rb', line 55 def self.included(controller) controller.extend(ClassMethods) controller.before_filter(:ensure_proper_protocol) end |