Skip to content

Commit 5676c99

Browse files
committed
Merge pull request activeadmin#812 from amalagaura/patch-1
Add some explanation for site_title_link and site_title_image
2 parents ae3d3d5 + f29b4d2 commit 5676c99

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/1-general-configuration.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@ Both of these settings can be set to false to turn off authentication.
2828
config.authentication_method = false
2929
config.current_user_method = false
3030

31-
## Site Title
31+
## Site Title Options
3232

33-
You can update the title used for the site in the initializer also. By default
34-
it is set to the name of your Rails.application class name.
33+
You can update the title or use an optional image in the initializer also. In addition you can set the link. By default
34+
there is no link and the title is set to the name of your Rails.application class name.
3535

3636
# config/initializers/active_admin.rb
3737
config.site_title = "My Admin Site"
38+
config.site_title_link = "/" ## Rails url helpers do not work here
39+
config.site_title_image = "site_log_image.png"
3840

3941
## Internationalization (I18n)
4042

0 commit comments

Comments
 (0)