Class: GraphStarter::PropertiesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- GraphStarter::PropertiesController
- Defined in:
- app/controllers/graph_starter/properties_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#load_session_node, #session_node
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/graph_starter/properties_controller.rb', line 3 def index @properties = Property.all end |
#show ⇒ Object
7 8 9 |
# File 'app/controllers/graph_starter/properties_controller.rb', line 7 def show @property = Property.find(params[:id]) end |