Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Add id to indexed promise
Browse files Browse the repository at this point in the history
  • Loading branch information
jarib committed Aug 8, 2017
1 parent ad9aec0 commit ff03168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/promise.rb
Expand Up @@ -106,7 +106,7 @@ def future?
end

def as_indexed_json(options = nil)
as_json only: :body, methods: [
as_json only: [:body, :id], methods: [
:party_names,
:parliament_period_name,
:promisor_name,
Expand Down

0 comments on commit ff03168

Please sign in to comment.