Module: SpreeBase
- Included in:
- Spree::BaseController
- Defined in:
- lib/spree_base.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'lib/spree_base.rb', line 97 def self.included(receiver) #receiver.extend ClassMethods receiver.send :include, InstanceMethods receiver.send :layout, 'spree_application' receiver.send :helper, 'hook' receiver.send :before_filter, 'instantiate_controller_and_action_names' # #RAILS 3 TODO # #before_filter :touch_sti_subclasses receiver.send :before_filter, 'set_user_language' receiver.send :helper_method, 'title' receiver.send :helper_method, 'title=' receiver.send :helper_method, 'accurate_title' receiver.send :helper_method, 'get_taxonomies' receiver.send :helper_method, 'current_gateway' receiver.send :helper_method, 'current_order' receiver.send :include, SslRequirement receiver.send :include, Spree::CurrentOrder end |