Skip to content

Commit

Permalink
refactor: better configuration.app_name property (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Oct 10, 2020
1 parent 88eca01 commit 66ec1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/avo/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Configuration

def initialize
@root_path = '/avo'
@app_name = Rails.application.class.to_s.split('::').first
@app_name = Rails.application.class.to_s.split('::').first.underscore.humanize
@timezone = 'UTC'
@per_page = 24
@per_page_steps = [12, 24, 48, 72]
Expand Down

0 comments on commit 66ec1c8

Please sign in to comment.