Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
running standardrb --fix
  • Loading branch information
zp1984 committed Oct 2, 2024
1 parent 8552a61 commit 45a7a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/alchemy/page/page_naming.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module PageNaming
unless: -> { name.blank? }

validates :name,
presence: true, uniqueness: { scope: [:parent_id], case_sensitive: false }
presence: true, uniqueness: {scope: [:parent_id], case_sensitive: false}
validates :urlname,
uniqueness: {scope: [:language_id, :layoutpage], if: -> { urlname.present? }, case_sensitive: false},
exclusion: {in: RESERVED_URLNAMES},
Expand Down

0 comments on commit 45a7a48

Please sign in to comment.