Module: Protected

Extended by:
ActionView::Context, ActionView::Helpers, ERB::Util
Defined in:
lib/clot/protected.rb

Class Method Summary collapse

Class Method Details

.configObject



17
18
19
# File 'lib/clot/protected.rb', line 17

def config
  @controller
end

.config=(controller) ⇒ Object

include Spree::Core::Engine.routes.url_helpers include Refinery::Core::Engine.routes.url_helpers include Rails.application.routes.url_helpers include ActionView::Helpers::UrlHelper



13
14
15
# File 'lib/clot/protected.rb', line 13

def config=(controller)
  @controller = controller
end

.controllerObject



21
22
23
# File 'lib/clot/protected.rb', line 21

def controller
  @controller
end