diff options
Diffstat (limited to 'app/models/location.rb')
| -rw-r--r-- | app/models/location.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/location.rb b/app/models/location.rb index ff3256fd..0756476c 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -1,4 +1,4 @@ -class Location < ActiveRecord::Base +class Location < ApplicationRecord belongs_to :locatable, polymorphic: true validates :locatable, presence: true |
