Class: Admin::ProductGroupsController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Admin::ProductGroupsController
- Defined in:
- app/controllers/admin/product_groups_controller.rb
Instance Method Summary collapse
Instance Method Details
#preview ⇒ Object
4 5 6 7 8 |
# File 'app/controllers/admin/product_groups_controller.rb', line 4 def preview @product_group = ProductGroup.new(params[:product_group]) @product_group.name = "for_preview" respond_with(@product_group) { |format| format.html { render :partial => 'preview', :layout => false } } end |