Skip to content

Commit b6bf5c0

Browse files
committed
It's cohort-imports not cohort_imports
Somehow we added the path to view cohort imports as '/cohort_imports'. Probably my fault, as usual. Jira-Issue: MAV-6734
1 parent 8ce5dd5 commit b6bf5c0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

config/routes.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@
134134
end
135135
end
136136

137+
get "/cohort_imports/:id", to: redirect("/cohort-imports/%{id}")
137138
resources :cohort_imports,
138-
path: "cohort_imports",
139+
path: "cohort-imports",
139140
except: %i[index destroy] do
140141
member do
141142
get :re_review, to: "cohort_imports#re_review"

0 commit comments

Comments
 (0)