summaryrefslogtreecommitdiff
path: root/app/models/location.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/location.rb')
-rw-r--r--app/models/location.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/location.rb b/app/models/location.rb
index b74eabc..5587398 100644
--- a/app/models/location.rb
+++ b/app/models/location.rb
@@ -1,3 +1,3 @@
class Location < ActiveRecord::Base
- belongs_to :license, autosave: true
+ has_one :license, autosave: true
end