Skip to content

Commit

Permalink
Stub Blacklight::Document#marked_for_destruction? for API compatibili…
Browse files Browse the repository at this point in the history
…ty with Rails 5
  • Loading branch information
cbeer committed Dec 18, 2015
1 parent 8ccebc8 commit d9af1f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/concerns/blacklight/document/active_model_shim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def new_record?
false
end

def marked_for_destruction?
false
end

##
# #to_partial_path is also defined in Blacklight::Document, but
# ActiveModel::Conversion (included above) will overwrite that..
Expand Down

0 comments on commit d9af1f8

Please sign in to comment.