aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-14 22:17:12 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-14 22:20:09 +0100
commit8818aa680c2ddaf1204e297fe27f088499eea74f (patch)
tree1888efcf1ffc138c848584058299454510544188 /app/controllers
parentc232356d490cefb44dd96b400961fe26a85ce183 (diff)
downloadoperum-8818aa680c2ddaf1204e297fe27f088499eea74f.tar.gz
operum-8818aa680c2ddaf1204e297fe27f088499eea74f.zip
Dropped redundant 'location' column
Looks like I messed up later on and kept two columns which were basically referring to the same thing. Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/things_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/things_controller.rb b/app/controllers/things_controller.rb
index 450b409..e994a3d 100644
--- a/app/controllers/things_controller.rb
+++ b/app/controllers/things_controller.rb
@@ -63,7 +63,7 @@ class ThingsController < ApplicationController
def thing_params
params.require(:thing).permit(:target, :title, :publisher, :address, :year, :url, :access,
- :authors, :location, :insideof, :pages, :rate, :status, :kind,
- :bought_at, :editors, :note, :where_is_it, tag_ids: [])
+ :authors, :insideof, :pages, :rate, :status, :kind, :bought_at,
+ :editors, :note, :where_is_it, tag_ids: [])
end
end