Created
March 2, 2018 22:15
-
-
Save parthaa/bd1450d157e742ef69ed256639e3a84e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Foreman::UserColumns.map do |mapper| | |
mapper.resource :subscriptions do |resource| | |
resource.column :account, :description => N_("Account"), | |
:path => "account_number", | |
:default_enabled => true | |
resource.column :contract, :description => N_("Contract"), | |
:path => "contract_number", | |
:default_enabled => true | |
resource.column :entitlements, :description => N_("Entitlements"), | |
:path => "consumed", | |
:default_enabled => true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment