lib/active_admin/application_settings.rb in activeadmin-2.8.0 vs lib/active_admin/application_settings.rb in activeadmin-2.8.1
- old
+ new
@@ -1,6 +1,6 @@
-require 'active_admin/settings_node'
+require "active_admin/settings_node"
module ActiveAdmin
class ApplicationSettings < SettingsNode
# The default namespace to put controllers and routes inside. Set this
@@ -13,11 +13,11 @@
register :app_path, Rails.root
# Load paths for admin configurations. Add folders to this load path
# to load up other resources for administration. External gems can
# include their paths in this load path to provide active_admin UIs
- register :load_paths, [File.expand_path('app/admin', Rails.root)]
+ register :load_paths, [File.expand_path("app/admin", Rails.root)]
# Set default localize format for Date/Time values
register :localize_format, :long
# Active Admin makes educated guesses when displaying objects, this is
@@ -32,10 +32,10 @@
:title,
:email,
:to_s ]
# To make debugging easier, by default don't stream in development
- register :disable_streaming_in, ['development']
+ register :disable_streaming_in, ["development"]
# Remove sensitive attributes from being displayed, made editable, or exported by default
register :filter_attributes, [:encrypted_password, :password, :password_confirmation]
end
end