Skip to content

Commit

Permalink
fix: global classes loading as locals (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev authored Dec 31, 2020
1 parent c122bb8 commit b3f8a5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/mailers/avo/application_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Avo
class ApplicationMailer < ActionMailer::Base
class ApplicationMailer < ::ActionMailer::Base
default from: '[email protected]'
layout 'mailer'
end
Expand Down
2 changes: 1 addition & 1 deletion lib/avo/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def initialize
end

def locale_tag
ISO::Tag.new(locale)
::ISO::Tag.new(locale)
end

def language_code
Expand Down

0 comments on commit b3f8a5b

Please sign in to comment.