lib/ab_admin/models/header.rb in ab_admin-0.2.3 vs lib/ab_admin/models/header.rb in ab_admin-0.3.0
- old
+ new
@@ -2,10 +2,10 @@
module Models
module Header
extend ActiveSupport::Concern
included do
- belongs_to :headerable, :polymorphic => true
+ belongs_to :headerable, polymorphic: true
end
def empty?
[keywords, description, title].map(&:blank?).all?
end