Created
May 9, 2020 15:02
-
-
Save CapSens-SM/d3067776b585f875c079762b4d6083a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActiveAdmin.register Customer do | |
decorate_with CustomerDecorator | |
index do | |
[ other columns logic here ... ] | |
column :state do |customer| | |
render partial: 'admin/customers/material_progress_bar', locals: { customer: customer } | |
end | |
actions | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment