Class: DetailPanelObjectController

Inherits:
Shirka::Controller show all
Defined in:
lib/troshka/detail_panel_object/controller.rb

Instance Attribute Summary

Attributes inherited from Shirka::Controller

#app, #components, #data, #parent

Instance Method Summary collapse

Methods inherited from Shirka::Controller

#add_component, #add_item, #init, #initialize, #item_controller_class, #on_component_added, #on_component_adding, #view_class

Methods included from Shirka::Eventalk

#add_watcher, #fire, #forward, #watch, #watchers

Constructor Details

This class inherits a constructor from Shirka::Controller

Instance Method Details

#viewObject



2
3
4
# File 'lib/troshka/detail_panel_object/controller.rb', line 2

def view
  @view ||= view_class.new self, data.to_s
end