diff options
author | IN COMMON Collective <collective@incommon.cc> | 2021-04-08 16:34:15 +0200 |
---|---|---|
committer | IN COMMON Collective <collective@incommon.cc> | 2021-04-08 16:34:15 +0200 |
commit | d14700c51d692335f001a93c2f6b13b135783206 (patch) | |
tree | 1204bc1ae744098eba6604a961765187984a90d8 /config | |
parent | c738e96b2b99bfd92b70d4cec26d6874a7f609e4 (diff) | |
download | incommon-map-d14700c51d692335f001a93c2f6b13b135783206.tar.gz |
[FIX] Use form model to create/edit resources (fixes #4, fixes #5, refs #3)v0.1.10
Since we must associate other models (e.g., classifications) to a Resource,
we use a composite model to save all changes inside a database transaction.
This approach makes it simpler to handle resources and their associations.
Work remains to fix the geolocation and reverse geolocation to ensure
these are in sync.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 54f383e..7fd064a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2,6 +2,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later Rails.application.routes.draw do + get 'sections/show' # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html |