Skip to content

Commit

Permalink
Changing primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
Claster committed May 16, 2014
1 parent f33e41e commit 5fff9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_admin/mongoid/document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class << self
end
end

self.primary_key ||= [:_id]
self.primary_key ||= :_id

end

Expand Down

0 comments on commit 5fff9df

Please sign in to comment.