Skip to content

Commit 66ec1c8

Browse files
authored
refactor: better configuration.app_name property (#150)
1 parent 88eca01 commit 66ec1c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/avo/configuration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Configuration
1414

1515
def initialize
1616
@root_path = '/avo'
17-
@app_name = Rails.application.class.to_s.split('::').first
17+
@app_name = Rails.application.class.to_s.split('::').first.underscore.humanize
1818
@timezone = 'UTC'
1919
@per_page = 24
2020
@per_page_steps = [12, 24, 48, 72]

0 commit comments

Comments
 (0)