Module: HasTrolleyControllerHelpers

Defined in:
lib/has_trolley_controller_helpers.rb

Defined Under Namespace

Modules: UrlFor

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



2
3
4
5
# File 'lib/has_trolley_controller_helpers.rb', line 2

def self.included(klass)
  klass.send :helper_method, :url_for_trolley, :url_for_order
  klass.send :include, UrlFor
end