Created
October 31, 2013 17:24
-
-
Save laspluviosillas/7253609 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 OleCore::Subscription, as: "Subscriptions" do | |
controller do | |
def scoped_collection | |
resource_class.includes(:account) | |
end | |
end | |
filter :id | |
filter :account_name, as: :string | |
filter :trial_expiry_at | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment