Skip to content

Commit 175e44e

Browse files
authored
Merge pull request #694 from slovensko-digital/fix/693-missing-category-ids-in-journey-edit
Build categorization explicitly when editing a journey
2 parents b78daf7 + e4a9e49 commit 175e44e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controllers/admin/journeys_controller.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def new
1919

2020
# GET /admin/journeys/1/edit
2121
def edit
22+
@journey.build_categorization unless @journey.categorization
2223
end
2324

2425
# POST /admin/journeys

0 commit comments

Comments
 (0)