Skip to content

Commit

Permalink
Keep rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Aug 2, 2022
1 parent 4c471d7 commit c4bd6bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ RSpec/VoidExpect:
Exclude:
- 'spec/lib/morph/docker_runner_spec.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ApplicationMailer:
Exclude:
- 'app/mailers/alert_mailer.rb'

# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: slashes, arguments
Expand Down
2 changes: 1 addition & 1 deletion app/mailers/alert_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class AlertMailer < ActionMailer::Base
class AlertMailer < ApplicationMailer
include ActionView::Helpers::TextHelper
include ActionView::Helpers::AssetUrlHelper
add_template_helper UsersHelper
Expand Down
4 changes: 4 additions & 0 deletions app/mailers/application_mailer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# frozen_string_literal: true

class ApplicationMailer < ActionMailer::Base
end

0 comments on commit c4bd6bc

Please sign in to comment.