diff config/routes.rb @ 260:e2150dce4e90

Rubocop (rails) time
author nanaya <me@nanaya.net>
date Sun, 15 Dec 2024 22:59:09 +0900
parents 5af9b537db86
children
line wrap: on
line diff
--- a/config/routes.rb	Sun Dec 15 22:55:34 2024 +0900
+++ b/config/routes.rb	Sun Dec 15 22:59:09 2024 +0900
@@ -1,6 +1,6 @@
 Rails.application.routes.draw do
   root "tweets#index"
 
-  get ":id/:name" => "tweets#show", :defaults => { :format => :atom }, :as => "tweet"
+  get ":id/:name" => "tweets#show", :defaults => { format: :atom }, :as => "tweet"
   get ":name" => "tweets#redirect"
 end