Skip to content

Instantly share code, notes, and snippets.

@laspluviosillas
Created October 31, 2013 17:24
Show Gist options
  • Save laspluviosillas/7253609 to your computer and use it in GitHub Desktop.
Save laspluviosillas/7253609 to your computer and use it in GitHub Desktop.
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