From f694da292da7c1da4c8aa3dd3936d99719e9c386 Mon Sep 17 00:00:00 2001 From: Kosuke Tanabe Date: Sun, 29 Aug 2021 00:43:47 +0900 Subject: [PATCH] rename template files: txt -> text --- app/controllers/manifestations_controller.rb | 4 ++-- app/views/manifestations/{index.txt.ruby => index.text.ruby} | 0 app/views/manifestations/{show.txt.ruby => show.text.ruby} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename app/views/manifestations/{index.txt.ruby => index.text.ruby} (100%) rename app/views/manifestations/{show.txt.ruby => show.text.ruby} (100%) diff --git a/app/controllers/manifestations_controller.rb b/app/controllers/manifestations_controller.rb index 9560ae654..25b232c5d 100644 --- a/app/controllers/manifestations_controller.rb +++ b/app/controllers/manifestations_controller.rb @@ -248,7 +248,7 @@ def index format.html format.xml { render xml: @manifestations } format.rss { render layout: false } - format.txt { render layout: false } + format.text { render layout: false } format.rdf { render layout: false } format.atom format.mods @@ -309,7 +309,7 @@ def show format.rdf format.mods format.json - format.txt + format.text format.js format.ttl format.download { diff --git a/app/views/manifestations/index.txt.ruby b/app/views/manifestations/index.text.ruby similarity index 100% rename from app/views/manifestations/index.txt.ruby rename to app/views/manifestations/index.text.ruby diff --git a/app/views/manifestations/show.txt.ruby b/app/views/manifestations/show.text.ruby similarity index 100% rename from app/views/manifestations/show.txt.ruby rename to app/views/manifestations/show.text.ruby