Module: Authorized::Controller
- Defined in:
- lib/authorized/controller.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/authorized/controller.rb', line 5 def self.included(base) base.extend(ClassMethods) base.send(:include, SslRequirement) # My ssl_required? overrides SslRequirement so MUST come AFTER! base.send(:include, InstanceMethods) base.class_eval do class << self alias_method_chain :inherited, :ccls_before_filters end end end |