File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
generators/active_admin/install/templates Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ module ActiveAdmin
46
46
mattr_accessor :namespaces
47
47
48
48
# The title which get's displayed in the main layout
49
- @@site_title = Rails . application . class . name . split ( "::" ) . first . titlecase
49
+ @@site_title = ""
50
50
mattr_accessor :site_title
51
51
52
52
# Load paths for admin configurations. Add folders to this load path
Original file line number Diff line number Diff line change 5
5
# Set the title that is displayed on the main layout
6
6
# for each of the active admin pages.
7
7
#
8
- # If you don't set it here, it defaults to a friendly
9
- # name of your Rails.application class name.
10
- #
11
- # config.site_title = "My Great Site"
8
+ config . site_title = "<%= Rails.application.class.name.split(" ::").first.titlecase %>"
12
9
13
10
14
11
# == Default Namespace
You can’t perform that action at this time.
0 commit comments