Skip to content

Commit

Permalink
remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfranzen committed Sep 13, 2020
1 parent bd167ce commit 0923d9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ class Account < ApplicationRecord
# - RELATIONS
has_many :users, dependent: :destroy


# override friendly id checker for categories
def should_generate_new_friendly_id?
(slug.nil? || slug.blank?) || (name_changed? && !slug_changed?)
end


# :nocov:
rails_admin do
weight 10
Expand Down

0 comments on commit 0923d9b

Please sign in to comment.