diff --git a/app/models/external_work.rb b/app/models/external_work.rb index bd5632ce559..861df7a94b1 100644 --- a/app/models/external_work.rb +++ b/app/models/external_work.rb @@ -161,10 +161,12 @@ def bookmarkable_json def posted true end + alias_method :posted?, :posted def restricted false end + alias_method :restricted?, :restricted def creators [author] diff --git a/app/models/series.rb b/app/models/series.rb index 78857b4f755..bc58274412c 100644 --- a/app/models/series.rb +++ b/app/models/series.rb @@ -236,6 +236,7 @@ def language_id def posted !posted_works.empty? end + alias_method :posted?, :posted # Simple name to make it easier for people to use in full-text search def tag