From 654ec39f36e0ae577f0d1e6f655126e3b5fc14ab Mon Sep 17 00:00:00 2001 From: Runar Ingebrigtsen Date: Mon, 26 Jan 2026 21:56:55 +0100 Subject: [PATCH] remove lint --- config/routes.rb | 6 +++--- db/migrate/20260122123822_create_suggested_meanings.rb | 1 - test/models/comment_test.rb | 1 - 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 1f08c77..abf326b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -34,13 +34,13 @@ Rails.application.routes.draw do end resources :entries do - resources :comments, only: [:create] + resources :comments, only: [ :create ] collection do get :download end end resources :suggested_meanings - resources :comments, only: [:create, :update, :destroy] - resources :supported_languages, only: [:index, :show] + resources :comments, only: [ :create, :update, :destroy ] + resources :supported_languages, only: [ :index, :show ] resources :users end diff --git a/db/migrate/20260122123822_create_suggested_meanings.rb b/db/migrate/20260122123822_create_suggested_meanings.rb index bced4ba..117c41b 100644 --- a/db/migrate/20260122123822_create_suggested_meanings.rb +++ b/db/migrate/20260122123822_create_suggested_meanings.rb @@ -18,6 +18,5 @@ class CreateSuggestedMeanings < ActiveRecord::Migration[8.1] t.timestamps end - end end diff --git a/test/models/comment_test.rb b/test/models/comment_test.rb index ff69869..4fea4fa 100644 --- a/test/models/comment_test.rb +++ b/test/models/comment_test.rb @@ -37,5 +37,4 @@ class CommentTest < ActiveSupport::TestCase comment = Comment.new(user: user, body: "This is a comment.", language: language) assert_not comment.valid? end - end