From 24b69236a0f9f4403ad0edc764882b6f9fb5192a Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg <maxwell@joindiaspora.com> Date: Sun, 15 Apr 2012 17:58:45 -0700 Subject: [PATCH] exclude share vis in rails admin, dont exclude users [ci skip] --- config/initializers/rails_admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/rails_admin.rb b/config/initializers/rails_admin.rb index 11dec6173c..52659cb2fd 100644 --- a/config/initializers/rails_admin.rb +++ b/config/initializers/rails_admin.rb @@ -34,7 +34,7 @@ RailsAdmin.config do |config| # ==> Included models # Add all excluded models here: - config.excluded_models = [ActivityStreams::Photo, AspectMembership, AspectVisibility, ConversationVisibility, NotificationActor, Notifications::AlsoCommented, Notifications::CommentOnPost, Notifications::Liked, Notifications::Mentioned, Notifications::PrivateMessage, Notifications::RequestAccepted, Notifications::Reshared, Notifications::StartedSharing, OEmbedCache, Reshare, ServiceUser, Services::Facebook, Services::Tumblr, Services::Twitter, StatusMessage, User, UserPreference] + config.excluded_models = [ActivityStreams::Photo, AspectMembership, AspectVisibility, ShareVisibility, ConversationVisibility, NotificationActor, Notifications::AlsoCommented, Notifications::CommentOnPost, Notifications::Liked, Notifications::Mentioned, Notifications::PrivateMessage, Notifications::RequestAccepted, Notifications::Reshared, Notifications::StartedSharing, Reshare, ServiceUser, Services::Facebook, Services::Tumblr, Services::Twitter, UserPreference] # Add models here if you want to go 'whitelist mode': # config.included_models = [AccountDeletion, ActivityStreams::Photo, ActsAsTaggableOn::Tag, Aspect, AspectMembership, AspectVisibility, Block, Comment, Contact, Conversation, ConversationVisibility, Invitation, InvitationCode, Like, Mention, Message, Notification, NotificationActor, Notifications::AlsoCommented, Notifications::CommentOnPost, Notifications::Liked, Notifications::Mentioned, Notifications::PrivateMessage, Notifications::RequestAccepted, Notifications::Reshared, Notifications::StartedSharing, OEmbedCache, Participation, Person, Photo, Pod, Post, Profile, Reshare, Service, ServiceUser, Services::Facebook, Services::Tumblr, Services::Twitter, ShareVisibility, StatusMessage, TagFollowing, User, UserPreference] -- GitLab