Class: Admin::PrototypesController
- Inherits:
-
BaseController
- Object
- BaseController
- Admin::PrototypesController
- Defined in:
- app/controllers/admin/prototypes_controller.rb
Instance Method Summary collapse
Instance Method Details
#available ⇒ Object
7 8 9 10 11 12 |
# File 'app/controllers/admin/prototypes_controller.rb', line 7 def available @prototypes = Prototype.all respond_to do |wants| wants.html { render :layout => !request.xhr? } end end |
#select ⇒ Object
14 15 16 17 |
# File 'app/controllers/admin/prototypes_controller.rb', line 14 def select load_object @prototype_properties = @prototype.properties end |