Skip to content

Commit e4a77a2

Browse files
committed
Standardize plurals
1 parent f7796b8 commit e4a77a2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/controllers/reports_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class ReportsController < ApplicationController
55
def show
66
end
77

8-
# GET /reports/genome/1
8+
# GET /reports/genomes/1
99
def genome
1010
@object = Genome.find(params[:id])
1111
@crumbs = [

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
end
211211
end
212212
namespace(:reports) do
213-
get 'genome/:id', to: 'report#genome'
213+
get 'genomes/:id', to: 'reports#genome'
214214
end
215215

216216
# General Application

0 commit comments

Comments
 (0)