Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b16c1f44e2
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (13 sloc) 0.271 kB
ActiveAdmin.register Product do
index do
column "Product Name", :name
column :category
column :stock_no
column :price, :sortable => :price do |product|
div :class => "price" do
number_to_currency product.price
end
end
default_actions
end
end
Jump to Line
Something went wrong with that request. Please try again.