From 8818aa680c2ddaf1204e297fe27f088499eea74f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 14 Mar 2024 22:17:12 +0100 Subject: Dropped redundant 'location' column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- app/controllers/things_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers/things_controller.rb') 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 -- cgit v1.2.3