Class: Components::View

Inherits:
ActionView::Base
  • Object
show all
Defined in:
lib/components/view.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#controllerObject

TODO: rendering from a component view should be restricted to just rendering other components.



7
8
9
# File 'lib/components/view.rb', line 7

def controller
  @controller
end

Instance Method Details

#requestObject



9
10
11
# File 'lib/components/view.rb', line 9

def request
  controller._request
end