8000 Remove configs that no longer exist · activeadmin/activeadmin@041e035 · GitHub
[go: up one dir, main page]

Skip to content

Commit 041e035

Browse files
committed
Remove configs that no longer exist
These have been replaced with partials that can be extracted and customized. We'll add new docs on what those partials are.
1 parent ef19435 commit 041e035

File tree

1 file changed

+1
-33
lines changed

1 file changed

+1
-33
lines changed

docs/1-general-configuration.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ Every page has what's called the site title on the left side of the menu bar.
3737
If you want, you can customize it.
3838

3939
```ruby
40-
config.site_title = "My Admin Site"
41-
config.site_title_link = "/"
42-
config.site_title_image = "site_image.png"
43-
config.site_title_image = "https://www.google.com/images/logos/google_logo_41.png"
44-
config.site_title_image = ->(context) { context.current_user.company.logo_url }
40+
config.site_title = "My Admin Site"
4541
```
4642

4743
## Internationalization (I18n)
@@ -193,31 +189,3 @@ Remember to indicate where to place the comments and form with:
193189
```ruby
194190
active_admin_comments_for(resource)
195191
```
196-
197-
## Utility Navigation
198-
199-
The "utility navigation" shown at the top right normally shows the current user
200-
and a link to log out. However, the utility navigation is just like any other
201-
menu in the system; you can provide your own menu to be rendered in its place.
202-
203-
```ruby
204-
ActiveAdmin.setup do |config|
205-
config.namespace :admin do |admin|
206-
admin.build_menu :utility_navigation do |menu|
207-
menu.add label: "ActiveAdmin.info", url: "https://www.activeadmin.info",
208-
html_options: { target: "_blank" }
209-
admin.add_current_user_to_menu menu
210-
admin.add_logout_button_to_menu menu
211-
end
212-
end
213-
end
214-
```
215-
216-
## Footer Customization
217-
218-
By default, Active Admin displays a "Powered by ActiveAdmin" message on every
219-
page. You can override this message and show domain-specific messaging:
220-
221-
```ruby
222-
config.footer = "MyApp Revision v1.3"
223-
```

0 commit comments

Comments
 (0)
0