@@ -37,11 +37,7 @@ Every page has what's called the site title on the left side of the menu bar.
37
37
If you want, you can customize it.
38
38
39
39
``` 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"
45
41
```
46
42
47
43
## Internationalization (I18n)
@@ -193,31 +189,3 @@ Remember to indicate where to place the comments and form with:
193
189
``` ruby
194
190
active_admin_comments_for(resource)
195
191
```
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